Partager via


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
System_CAPS_pubproperty AccessLevel

Gets the access level for the current user account.

System_CAPS_pubproperty CurrentSid

Gets the security identifier for the user account.

System_CAPS_pubproperty DisplayName

Gets the display name of the user account.

System_CAPS_pubproperty FileHistoryState

Gets and sets the file history state.

System_CAPS_pubproperty FirstName

Gets the first name of the user that is associated with the user account.

System_CAPS_pubproperty Info

Gets the information that is associated with the user account.

System_CAPS_pubproperty IsShowInUI

Gets or sets a value that determines if the User is shown in the UI.

System_CAPS_pubproperty LastName

Gets the last name of the user that is associated with the user account.

System_CAPS_pubproperty PersonalInfo

Gets or sets the personal information of the user that is associated with the user account.

System_CAPS_pubproperty RemoteAccess

Gets the type of access that is assigned to the user account for Remote Web Access.

System_CAPS_pubproperty SIDs

Gets all of the security identifiers that are associated with the user name.

System_CAPS_pubproperty UserName

Gets the name of the user account.

System_CAPS_pubproperty UserStatus

Gets the status of the user account.

System_CAPS_pubproperty VpnAccess

Gets the type of access that is assigned to the user account for virtual private networks (VPNs).

Methods

Name Description
System_CAPS_pubmethod Commit()

Commits a change to a user account.

System_CAPS_pubmethod Dispose()

Releases all resources used by the User.

System_CAPS_protmethod Dispose(Boolean)

Releases the unmanaged resources used by the User and optionally releases the managed resources.

System_CAPS_pubmethod Equals(Object)

Determines whether the specified object is equal to the current User.(Overrides Object.Equals(Object).)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod FixPersonalFolder(String)

Fixes the specified personal folder.

System_CAPS_pubmethod GetHashCode()

Retrieves a hash code for the User object.(Overrides Object.GetHashCode().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod IsValid()

Determines whether the user account is valid.

System_CAPS_pubmethod IsValid(Boolean)

Determines whether the user account is valid, with the option to refresh the data.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod RaisePropertyChanged(String)

Raises the property changed event with the specified property name.

System_CAPS_pubmethod SetPassword(SecureString)

Sets the password for the current user account.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Events

Name Description
System_CAPS_pubevent 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