Partager via


UserInfo Class

 

Represents the information that is associated to a user account.

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

Inheritance Hierarchy

System.Object
  Microsoft.WindowsServerSolutions.Users.UserInfo

Syntax

[DataContractAttribute]
public class UserInfo
[DataContractAttribute]
public ref class UserInfo 
<DataContractAttribute>
Public Class UserInfo

Constructors

Name Description
System_CAPS_pubmethod UserInfo()

Initializes a new instance of the UserInfo class.

System_CAPS_pubmethod UserInfo(UserInfo)

Creates a new instance of the UserInfo object, using the specified additional user information.

Properties

Name Description
System_CAPS_pubproperty AccessLevel

Gets the access level for the user account.

System_CAPS_pubproperty FirstName

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

System_CAPS_pubproperty FullUserName

Gets the full name that is associated with the user account.

System_CAPS_pubproperty LastName

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

System_CAPS_pubproperty PersonalInfo

Gets or sets the personal information 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 UserName

Gets or sets the user name that is associated with the user account.

System_CAPS_pubproperty UserStatus

Gets or sets 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).

System_CAPS_pubproperty Warning

Gets the warning exception code.

System_CAPS_pubproperty WindowsAccount

Gets or sets the Windows account that is associated with the user account.

System_CAPS_pubproperty WindowsSID

Gets or sets the Windows security identifier that is associated with the user account.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

Compares a UserInfo object to the specified object.(Overrides Object.Equals(Object).)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

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

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

Returns a string that represents the current object.(Overrides Object.ToString().)

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