This documentation is archived and is not being maintained.

WindowsIdentity Constructor

Initializes a new instance of the WindowsIdentity class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method WindowsIdentity(IntPtr) Initializes a new instance of the WindowsIdentity class for the user represented by the specified Windows account token.
Public method WindowsIdentity(String) Initializes a new instance of the WindowsIdentity class for the user represented by the specified User Principal Name (UPN).
Public method WindowsIdentity(IntPtr, String) Initializes a new instance of the WindowsIdentity class for the user represented by the specified Windows account token and the specified authentication type.
Public method WindowsIdentity(SerializationInfo, StreamingContext) Initializes a new instance of the WindowsIdentity class for the user represented by information in a SerializationInfo stream.
Public method WindowsIdentity(String, String) Initializes a new instance of the WindowsIdentity class for the user represented by the specified User Principal Name (UPN) and the specified authentication type.
Public method WindowsIdentity(IntPtr, String, WindowsAccountType) Initializes a new instance of the WindowsIdentity class for the user represented by the specified Windows account token, the specified authentication type, and the specified Windows account type.
Public method WindowsIdentity(IntPtr, String, WindowsAccountType, Boolean) Initializes a new instance of the WindowsIdentity class for the user represented by the specified Windows account token, the specified authentication type, the specified Windows account type, and the specified authentication status.
Top
Show: