Click or drag to resize
Xcalibur Systems LLC Logo

SecurityHelper Class

Win32 API Helper: Security.
Inheritance Hierarchy
SystemObject
  Xcalibur.NativeMethods.V2.SecuritySecurityHelper

Namespace: Xcalibur.NativeMethods.V2.Security
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
public static class SecurityHelper

The SecurityHelper type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAdjustTokenGroups The AdjustTokenGroups function enables or disables groups already present in the specified access token. Access to is required to enable or disable groups in an access token.
Public methodStatic memberConvertSidToStringSid The ConvertSidToStringSid function converts a security identifier (SID) to a string format suitable for display, storage, or transmission.

ConvertSidToStringSid function

Public methodStatic memberConvertStringSidToSid The ConvertStringSidToSid function converts a string-format security identifier (SID) into a valid, functional SID.

ConvertStringSidToSid function

Public methodStatic memberGetTokenInformation The GetTokenInformation function retrieves a specified type of information about an access token. The calling process must have appropriate access rights to obtain the information.

GetTokenInformation function

Public methodStatic memberGetUsernameFromSid Gets the username from a SID.
Public methodStatic memberLookupAccountSid(String, Byte, StringBuilder, Int32, StringBuilder, Int32, Int32) The LookupAccountSid function accepts a security identifier (SID) as input. It retrieves the name of the account for this SID and the name of the first domain on which this SID is found.

LookupAccountSid function

Public methodStatic memberLookupAccountSid(String, IntPtr, StringBuilder, Int32, StringBuilder, Int32, Int32) The LookupAccountSid function accepts a security identifier (SID) as input. It retrieves the name of the account for this SID and the name of the first domain on which this SID is found.

LookupAccountSid function

Public methodStatic memberLookupPrivilegeName The LookupPrivilegeName function retrieves the name that corresponds to the privilege represented on a specific system by a specified locally unique identifier ().

LookupPrivilegeName function

Public methodStatic memberLookupPrivilegeValue The LookupPrivilegeValue function retrieves the locally unique identifier (LUID) used on a specified system to locally represent the specified privilege name.

LookupPrivilegeValue function

Public methodStatic memberProcessTokenToSid Convert a ProcessToken to a SID.
Top
See Also