Export (0) Print
Expand All

WindowsIdentity Members

Represents a Windows user.

The WindowsIdentity type exposes the following members.

  NameDescription
Public method WindowsIdentity Overloaded. Initializes a new instance of the WindowsIdentity class.
Top

  NameDescription
Public method Dispose Overloaded. Releases the resources used by the WindowsIdentity.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member GetAnonymous Returns a WindowsIdentity object that represents an anonymous user.
Public method Static member GetCurrent Overloaded. Returns a WindowsIdentity object that represents the current Windows user.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method Static member Impersonate Overloaded. Allows code to impersonate a different Windows user.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property AuthenticationType Gets the type of authentication used to identify the user.
Public property Groups Gets the groups the current Windows user belongs to.
Public property ImpersonationLevel Gets the impersonation level for the user.
Public property IsAnonymous Gets a value indicating whether the user account is identified as an anonymous account by the system.
Public property IsAuthenticated Gets a value indicating whether the user has been authenticated by Windows.
Public property IsGuest Gets a value indicating whether the user account is identified as a Guest account by the system.
Public property IsSystem Gets a value indicating whether the user account is identified as a System account by the system.
Public property Name Gets the user's Windows logon name.
Public property Owner Gets the security identifier (SID) for the token owner.
Public property Token Gets the Windows account token for the user.
Public property User Gets the security identifier (SID) for the user.
Top

  NameDescription
Explicit interface implemetation Private method ISerializable.GetObjectData Infrastructure. Sets the SerializationInfo object with the logical context information needed to recreate an instance of this execution context.
Explicit interface implemetation Private method IDeserializationCallback.OnDeserialization Infrastructure. Implements the ISerializable interface and is called back by the deserialization event when deserialization is complete.
Top

Community Additions

ADD
Show:
© 2014 Microsoft