This topic has not yet been rated - Rate this topic

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.

  Name Description
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).
Protected method WindowsIdentity(WindowsIdentity) Initializes a new instance of the WindowsIdentity class by using the specified WindowsIdentity object.
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
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.