ProvisionedDomainOptions Class

Provides options for joining a domain using a provisioned computer account.

Definition

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

Remarks

The account data needed for provisioning can be created using the following command: djoin.exe /provision /domain domainname /machine machinename /savefile filename. The contents of the created file should be passed to the constructor of this class.

Joining a domain using provisioning is supported both during the specialize and offlineServicing passes.

Constructors

ProvisionedDomainOptions Initializes a new instance of the ProvisionedDomainOptions class.

Properties

AccountData Gets the account data used 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 .
(Inherited from DomainOptionsBase)
DomainAccounts Gets a list of domain accounts that should be added to a local group.
(Inherited from DomainOptionsBase)

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))

See Also