|
SecurityHelper Class |
Win32 API Helper: Security.
Inheritance Hierarchy SystemObject Xcalibur.NativeMethods.V2.SecuritySecurityHelper Namespace: Xcalibur.NativeMethods.V2.SecurityAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax public static class SecurityHelper
Public NotInheritable Class SecurityHelper
public ref class SecurityHelper abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type SecurityHelper = class end
The SecurityHelper type exposes the following members.
Methods | Name | Description |
---|
| AdjustTokenGroups |
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.
|
| ConvertSidToStringSid |
The ConvertSidToStringSid function converts a security identifier (SID) to a string format
suitable for display, storage, or transmission.
ConvertSidToStringSid function |
| ConvertStringSidToSid |
The ConvertStringSidToSid function converts a string-format security identifier (SID) into
a valid, functional SID.
ConvertStringSidToSid function |
| GetTokenInformation |
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 |
| GetUsernameFromSid |
Gets the username from a SID.
|
| LookupAccountSid(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 |
| LookupAccountSid(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 |
| LookupPrivilegeName |
The LookupPrivilegeName function retrieves the name that corresponds to the privilege
represented on a specific system by a specified locally unique identifier
().
LookupPrivilegeName function |
| LookupPrivilegeValue |
The LookupPrivilegeValue function retrieves the locally unique identifier (LUID) used on a
specified system to locally represent the specified privilege name.
LookupPrivilegeValue function |
| ProcessTokenToSid |
Convert a ProcessToken to a SID.
|
TopSee Also