C# Class System.Security.Principal.Win32

Exibir arquivo Open project: dotnet/corefx Class Usage Examples

Private Methods

Method Description
ConvertIntPtrSidToByteArraySid ( IntPtr binaryForm ) : byte[]
CreateSidFromString ( string stringSid, byte &resultSid ) : int
CreateWellKnownSid ( WellKnownSidType sidType, System.Security.Principal.SecurityIdentifier domainSid, byte &resultSid ) : int
GetWindowsAccountDomainSid ( System.Security.Principal.SecurityIdentifier sid, System.Security.Principal.SecurityIdentifier &resultSid ) : int
InitializeReferencedDomainsPointer ( SafeLsaMemoryHandle referencedDomains ) : void

Setup the size of the buffer Windows provides for an LSA_REFERENCED_DOMAIN_LIST

IsEqualDomainSid ( System.Security.Principal.SecurityIdentifier sid1, System.Security.Principal.SecurityIdentifier sid2 ) : bool
IsWellKnownSid ( System.Security.Principal.SecurityIdentifier sid, WellKnownSidType type ) : bool
LsaOpenPolicy ( string systemName, PolicyRights rights ) : SafeLsaPolicyHandle
OpenThreadToken ( TokenAccessLevels dwDesiredAccess, WinSecurityContext dwOpenAs, SafeTokenHandle &phThreadToken ) : int
SetThreadToken ( SafeTokenHandle hToken ) : int