User Class
Represents a user account.
Namespace: Microsoft.WindowsServerSolutions.Users
Assembly: UserObjectModel (in UserObjectModel.dll)
Inheritance Hierarchy
System.Object
Microsoft.WindowsServerSolutions.Users.User
Syntax
public class User : INotifyPropertyChanged, IDisposable
public ref class User : INotifyPropertyChanged, IDisposable
Public Class User
Implements INotifyPropertyChanged, IDisposable
Properties
Name | Description | |
---|---|---|
AccessLevel | Gets the access level for the current user account. |
|
CurrentSid | Gets the security identifier for the user account. |
|
DisplayName | Gets the display name of the user account. |
|
FileHistoryState | Gets and sets the file history state. |
|
FirstName | Gets the first name of the user that is associated with the user account. |
|
Info | Gets the information that is associated with the user account. |
|
IsShowInUI | Gets or sets a value that determines if the User is shown in the UI. |
|
LastName | Gets the last name of the user that is associated with the user account. |
|
PersonalInfo | Gets or sets the personal information of the user that is associated with the user account. |
|
RemoteAccess | Gets the type of access that is assigned to the user account for Remote Web Access. |
|
SIDs | Gets all of the security identifiers that are associated with the user name. |
|
UserName | Gets the name of the user account. |
|
UserStatus | Gets the status of the user account. |
|
VpnAccess | Gets the type of access that is assigned to the user account for virtual private networks (VPNs). |
Methods
Name | Description | |
---|---|---|
Commit() | Commits a change to a user account. |
|
Dispose() | Releases all resources used by the User. |
|
Dispose(Boolean) | Releases the unmanaged resources used by the User and optionally releases the managed resources. |
|
Equals(Object) | Determines whether the specified object is equal to the current User.(Overrides Object.Equals(Object).) |
|
Finalize() | (Inherited from Object.) |
|
FixPersonalFolder(String) | Fixes the specified personal folder. |
|
GetHashCode() | Retrieves a hash code for the User object.(Overrides Object.GetHashCode().) |
|
GetType() | (Inherited from Object.) |
|
IsValid() | Determines whether the user account is valid. |
|
IsValid(Boolean) | Determines whether the user account is valid, with the option to refresh the data. |
|
MemberwiseClone() | (Inherited from Object.) |
|
RaisePropertyChanged(String) | Raises the property changed event with the specified property name. |
|
SetPassword(SecureString) | Sets the password for the current user account. |
|
ToString() | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
PropertyChanged | Represents an event that is raised when a property is changed on a user account. |
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