Partager via


UserIdentity Class

 

Represents that identity information for a user account.

Namespace:   Microsoft.WindowsServerSolutions.Users
Assembly:  UserObjectModel (in UserObjectModel.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsServerSolutions.Users.UserIdentity

Syntax

public class UserIdentity
public ref class UserIdentity 
Public Class UserIdentity

Properties

Name Description
System_CAPS_pubproperty Item[String]

Gets the UserToken for the key.

System_CAPS_pubproperty PersonalInfo

Gets the personal information that is associated with the user account.

System_CAPS_pubproperty ServerAccountSID

Gets the security identifier for the server shadow account.

System_CAPS_pubproperty ShadowAccount

Gets the shadow account information.

System_CAPS_pubproperty UserName

Gets the name of the user account.

System_CAPS_pubproperty WindowsIdentity

Gets the WindowsIdentity object.

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static ChangePassword(String, SecureString, SecureString)

Changes the password for the specified user account.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Impersonate()

Impersonates the user account with the value in the WindowsIdentity property.

System_CAPS_pubmethodSystem_CAPS_static LogonUser(String, SecureString)

Logs on with the specified user account name and password.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_static RemoteLogonUser(String, SecureString)

Remotely logs on with the specified user account name and password.

System_CAPS_pubmethodSystem_CAPS_static ResetCurrentServerUserInfo()

Resets the user account information on the server.

System_CAPS_pubmethodSystem_CAPS_static SetServerUserInfo(UserIdentity, Boolean, NetworkCredential, Boolean)

Sets information on the server.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsServerSolutions.Users Namespace

Return to top