TestimoX

API Reference

Class

DirectoryComputerCreateOptions

Namespace ADPlayground
Assembly ADPlayground
Modifiers sealed

Optional typed attributes for computer account creation.

Inheritance

  • Object
  • DirectoryComputerCreateOptions

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, the normalized sAMAccountName without trailing '$' is used.

public String DnsHostName { get; set; } #

Gets or sets dNSHostName.

public String Description { get; set; } #

Gets or sets description.

public String ManagedBy { get; set; } #

Gets or sets managedBy.

public String Location { get; set; } #

Gets or sets location.

public String Office { get; set; } #

Gets or sets physicalDeliveryOfficeName.

public String OperatingSystem { get; set; } #

Gets or sets operatingSystem.

public String OperatingSystemVersion { get; set; } #

Gets or sets operatingSystemVersion.

public String OperatingSystemServicePack { get; set; } #

Gets or sets operatingSystemServicePack.

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

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

public IList<String> ServicePrincipalNames { get; } #

Gets optional servicePrincipalName values to set during create.

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.