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.
public class DomainOptions : DomainOptionsBase
Public Class DomainOptions
Inherits DomainOptionsBase
public ref class DomainOptions : public DomainOptionsBase
type DomainOptions =
class
inherit DomainOptionsBase
end
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.
DomainOptions | Initializes a new instance of the DomainOptions class. |
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. |
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)) |