DomainOptions Class

Provides options for joining a domain.

Definition

Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.1.0+446b05628b4ec6933ca1b84b1f778ac43fb60ce9
C#
public class DomainOptions : DomainOptionsBase
Inheritance
Object    DomainOptionsBase    DomainOptions

Remarks

  Security Note

The password of the account used to join the domain is stored in plain text in the answer file. Do not store answer files with sensitive passwords in public locations.

This class cannot be used if the InstallOptionsBaseJoinDomainOffline property is . To join a domain during the offlineServicing pass, you must use the ProvisionedDomainOptions class instead.

Constructors

DomainOptions Initializes a new instance of the DomainOptions class.

Properties

Credential Gets the credentials of a domain account that has permission to join the domain.
DefaultDomainAccountDomain Gets the name of the domain to use for an account in the DomainAccounts property where the DomainUserDomain property is .
(Overrides DomainOptionsBaseDefaultDomainAccountDomain)
Domain Gets the name of the domain to join.
DomainAccounts Gets a list of domain accounts that should be added to a local group.
(Inherited from DomainOptionsBase)
OUPath Gets the path of the Organizational Unit that the computer account should be added to.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)
WriteDomainElements Writes options to join the domain.
(Overrides DomainOptionsBaseWriteDomainElements(AnswerFileGenerator, Boolean))

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