TestimoX

API Reference

Class

DirectoryUserCreateOptions

Namespace ADPlayground
Assembly ADPlayground
Modifiers sealed

Optional typed attributes for user account creation.

Inheritance

  • Object
  • DirectoryUserCreateOptions

Constructors

Methods

public IReadOnlyList<String> GetAttributeNames() #
Returns: IReadOnlyList<String>

Returns attribute names represented by typed and custom options.

public Boolean HasValues() #
Returns: Boolean

Returns true when at least one typed/custom option is provided.

Properties

public String CommonName { get; set; } #

Gets or sets optional common name (CN). When omitted, sAMAccountName is used.

public String UserPrincipalName { get; set; } #

Gets or sets userPrincipalName.

public String GivenName { get; set; } #

Gets or sets givenName.

public String Surname { get; set; } #

Gets or sets sn.

public String DisplayName { get; set; } #

Gets or sets displayName.

public String Mail { get; set; } #

Gets or sets mail.

public String Description { get; set; } #

Gets or sets description.

public String Manager { get; set; } #

Gets or sets manager.

public String InitialPassword { get; set; } #

Gets or sets optional initial password. When provided, password is set after create.

public Nullable<Boolean> Enabled { get; set; } #

Gets or sets desired enabled state (null leaves default account state).

public Nullable<Boolean> MustChangePasswordAtLogon { get; set; } #

Gets or sets whether password must be changed at next logon (null leaves AD default).

public IDictionary<String, String> ExtensionAttributes { get; } #

Gets extension attributes to set after object creation. Keys accept numbers (1-15) or extensionAttribute1-15.

public IDictionary<String, Object> Attribute { get; } #

Gets custom attributes to set after object creation.

public IDictionary<String, Object> AdditionalAttributes { get; } #

Gets custom attributes to set after object creation.