Table of Contents

Class ActiveDirectoryUser

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents an Active Directory user.

public class ActiveDirectoryUser : ActiveDirectoryObjectBase, IComparable<ActiveDirectoryObjectBase>
Inheritance
ActiveDirectoryUser
Implements
Inherited Members

Constructors

ActiveDirectoryUser()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.ActiveDirectoryUser class.

public ActiveDirectoryUser()

Properties

AccountExpirationDate

Gets or sets the date and time on which the user account expires.

public DateTime AccountExpirationDate { get; set; }

Property Value

DateTime

DisplayName

Gets or sets the display name of the user.

public string DisplayName { get; set; }

Property Value

string

FirstName

Gets or sets the first name of the user.

public string FirstName { get; set; }

Property Value

string

IsAccountLockedOut

Gets or sets whether the user account is locked out.

public BooleanOption IsAccountLockedOut { get; set; }

Property Value

BooleanOption

IsEnabled

Gets or sets whether the user account is enabled.

public BooleanOption IsEnabled { get; set; }

Property Value

BooleanOption

LastLogon

Gets or sets the date and time the user account last logged on.

public DateTime LastLogon { get; set; }

Property Value

DateTime

LastName

Gets or sets the last name of the user.

public string LastName { get; set; }

Property Value

string

Manager

Gets or sets the manager of the user.

public ActiveDirectoryAccountReference Manager { get; set; }

Property Value

ActiveDirectoryAccountReference

Memberships

Gets or sets the groups to which the user account is a member.

public ActiveDirectoryAccountReferences Memberships { get; set; }

Property Value

ActiveDirectoryAccountReferences

PasswordLastSet

Gets or sets the date and time when password of the account was last set.

public DateTime PasswordLastSet { get; set; }

Property Value

DateTime

PasswordLastSetString

Gets when the password of the account was last set.

public string PasswordLastSetString { get; set; }

Property Value

string

PasswordNeverExpires

Gets or sets whether the password never expires for the user account.

public BooleanOption PasswordNeverExpires { get; set; }

Property Value

BooleanOption

Profile

Gets or sets the profile settings for the account.

public ActiveDirectoryUserProfileSettings Profile { get; set; }

Property Value

ActiveDirectoryUserProfileSettings

SamAccountName

Gets or sets the SAM account name for the user.

public string SamAccountName { get; set; }

Property Value

string

SecurityIdentifier

Gets or sets the security identifier of the user in SDDL format.

public string SecurityIdentifier { get; set; }

Property Value

string

UserCannotChangePassword

Gets or sets whether the user is prevented from changing their password.

public BooleanOption UserCannotChangePassword { get; set; }

Property Value

BooleanOption

UserMustChangePassword

Gets or sets whether the user must change their password at next logon.

public BooleanOption UserMustChangePassword { get; set; }

Property Value

BooleanOption

UserPrincipalName

Gets or sets the user principal name (UPN) of the user.

public string UserPrincipalName { get; set; }

Property Value

string

Methods

Clone()

Creates a clone of this CENTREL.XIA.Configuration.Types.ActiveDirectoryUser object.

public ActiveDirectoryUser Clone()

Returns

ActiveDirectoryUser

A clone of this CENTREL.XIA.Configuration.Types.ActiveDirectoryUser object.