Метод |
Описание |
|
AllocateAndInitializeSid ( SID_IDENTIFIER_AUTHORITY &pIdentifierAuthority, byte nSubAuthorityCount, int dwSubAuthority0, int dwSubAuthority1, int dwSubAuthority2, int dwSubAuthority3, int dwSubAuthority4, int dwSubAuthority5, int dwSubAuthority6, int dwSubAuthority7, IntPtr &pSid ) : bool |
|
|
CloseHandle ( IntPtr handle ) : bool |
|
|
CreateProcessAsUser ( SafeTokenHandle hToken, string applicationName, string commandLine, IntPtr pProcessAttributes, IntPtr pThreadAttributes, bool bInheritHandles, uint dwCreationFlags, IntPtr pEnvironment, string currentDirectory, STARTUPINFO &startupInfo, PROCESS_INFORMATION &processInformation ) : bool |
|
|
DuplicateTokenEx ( SafeTokenHandle hExistingToken, UInt32 desiredAccess, IntPtr pTokenAttributes, SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, TOKEN_TYPE TokenType, SafeTokenHandle &hNewToken ) : bool |
|
|
FreeSid ( IntPtr pSid ) : IntPtr |
|
|
GetLengthSid ( IntPtr pSID ) : int |
|
|
GetSidSubAuthority ( IntPtr pSid, UInt32 nSubAuthority ) : IntPtr |
|
|
GetTokenInformation ( SafeTokenHandle hToken, TOKEN_INFORMATION_CLASS tokenInfoClass, IntPtr pTokenInfo, Int32 tokenInfoLength, Int32 &returnLength ) : bool |
|
|
OpenProcessToken ( IntPtr hProcess, UInt32 desiredAccess, SafeTokenHandle &hToken ) : bool |
|
|
SetTokenInformation ( SafeTokenHandle hToken, TOKEN_INFORMATION_CLASS tokenInfoClass, IntPtr pTokenInfo, Int32 tokenInfoLength ) : bool |
|
|