C# Class System.Security.Principal.WindowsIdentity.WindowsIdentity.WindowsIdentity

Inheritance: IIdentity, IDeserializationCallback, ISerializable
Datei anzeigen Open project: runefs/Marvin

Private Properties

Property Type Description
Dispose void
Dispose void
GetCurrent System.Security.Principal.WindowsIdentity
GetCurrent System.Security.Principal.WindowsIdentity
GetCurrentToken IntPtr
GetTokenName string
GetUserToken IntPtr
IDeserializationCallback void
ISerializable void
Impersonate System.Security.Principal.WindowsImpersonationContext
SetToken void
WindowsIdentity System.Runtime.CompilerServices
WindowsIdentity System.Runtime.CompilerServices
WindowsIdentity System.Runtime.CompilerServices
WindowsIdentity System.Runtime.CompilerServices
WindowsIdentity System.Runtime.CompilerServices
WindowsIdentity System.Runtime.CompilerServices
WindowsIdentity System.Runtime.CompilerServices
_GetRoles string[]

Public Methods

Method Description
GetAnonymous ( ) : System.Security.Principal.WindowsIdentity
GetCurrent ( ) : System.Security.Principal.WindowsIdentity
Impersonate ( ) : System.Security.Principal.WindowsImpersonationContext

Private Methods

Method Description
Dispose ( ) : void
Dispose ( bool disposing ) : void
GetCurrent ( TokenAccessLevels desiredAccess ) : System.Security.Principal.WindowsIdentity
GetCurrent ( bool ifImpersonating ) : System.Security.Principal.WindowsIdentity
GetCurrentToken ( ) : IntPtr
GetTokenName ( IntPtr token ) : string
GetUserToken ( string username ) : IntPtr
IDeserializationCallback ( object sender ) : void
ISerializable ( SerializationInfo info, StreamingContext context ) : void
Impersonate ( IntPtr userToken ) : System.Security.Principal.WindowsImpersonationContext
SetToken ( IntPtr token ) : void
WindowsIdentity ( IntPtr userToken ) : System.Runtime.CompilerServices
WindowsIdentity ( IntPtr userToken, string type ) : System.Runtime.CompilerServices
WindowsIdentity ( IntPtr userToken, string type, WindowsAccountType acctType ) : System.Runtime.CompilerServices
WindowsIdentity ( IntPtr userToken, string type, WindowsAccountType acctType, bool isAuthenticated ) : System.Runtime.CompilerServices
WindowsIdentity ( SerializationInfo info, StreamingContext context ) : System.Runtime.CompilerServices
WindowsIdentity ( string sUserPrincipalName ) : System.Runtime.CompilerServices
WindowsIdentity ( string sUserPrincipalName, string type ) : System.Runtime.CompilerServices
_GetRoles ( IntPtr token ) : string[]

Method Details

GetAnonymous() public static method

public static GetAnonymous ( ) : System.Security.Principal.WindowsIdentity
return System.Security.Principal.WindowsIdentity

GetCurrent() public static method

public static GetCurrent ( ) : System.Security.Principal.WindowsIdentity
return System.Security.Principal.WindowsIdentity

Impersonate() public method

public Impersonate ( ) : System.Security.Principal.WindowsImpersonationContext
return System.Security.Principal.WindowsImpersonationContext