Provisioned Domain Options 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.3.0+3ec3ef5391bcdf8d84abe65b91ab672cac4934d3
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.3.0+3ec3ef5391bcdf8d84abe65b91ab672cac4934d3
C#
public class ProvisionedDomainOptions : DomainOptionsBaseVB
Public Class ProvisionedDomainOptions
Inherits DomainOptionsBaseC++
public ref class ProvisionedDomainOptions : public DomainOptionsBaseF#
type ProvisionedDomainOptions =
class
inherit DomainOptionsBase
end- 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
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| WriteDomainElements |
Writes options to join the domain.
(Overrides DomainOptionsBaseWriteDomainElements(AnswerFileGenerator, Boolean)) |