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 | |
---|---|---|
Item[String] | Gets the UserToken for the key. |
|
PersonalInfo | Gets the personal information that is associated with the user account. |
|
ServerAccountSID | Gets the security identifier for the server shadow account. |
|
ShadowAccount | Gets the shadow account information. |
|
UserName | Gets the name of the user account. |
|
WindowsIdentity | Gets the WindowsIdentity object. |
Methods
Name | Description | |
---|---|---|
ChangePassword(String, SecureString, SecureString) | Changes the password for the specified user account. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
Impersonate() | Impersonates the user account with the value in the WindowsIdentity property. |
|
LogonUser(String, SecureString) | Logs on with the specified user account name and password. |
|
MemberwiseClone() | (Inherited from Object.) |
|
RemoteLogonUser(String, SecureString) | Remotely logs on with the specified user account name and password. |
|
ResetCurrentServerUserInfo() | Resets the user account information on the server. |
|
SetServerUserInfo(UserIdentity, Boolean, NetworkCredential, Boolean) | Sets information on the server. |
|
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