網域Domain

Domain 指定的網域名稱DomainAccountListDomain specifies the name of the domain for a DomainAccountList.

Values

Path_to_filePath_to_file

指定的網域名稱DomainAccountListSpecifies the name of the domain for a DomainAccountList. Path_to_file是一個字串。Path_to_file is a string.

此字串類型不支援空元素。This string type does not support empty elements. 請勿為此設定建立空值。Do not create an empty value for this setting.

有效的設定階段Valid Configuration Passes

auditSystemauditSystem

oobeSystemoobeSystem

父階層Parent Hierarchy

Microsoft-Windows-Shell-Setup | UserAccounts | DomainAccounts | DomainAccountList | DomainMicrosoft-Windows-Shell-Setup | UserAccounts | DomainAccounts | DomainAccountList | Domain

套用至Applies To

如需支援的 Windows 版本和架構,此元件支援的清單,請參閱Microsoft Windows Shell-安裝For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML 範例XML Example

下列的 XML 輸出會顯示如何設定UserAccountsThe following XML output shows how to set UserAccounts.

<UserAccounts>
   <DomainAccounts>
      <DomainAccountList wcm:action="add">
         <DomainAccount wcm:action="add">
            <Name>account1</Name>
            <Group>Fabrikam\Group1</Group>
         </DomainAccount>
         <DomainAccount wcm:action="add">
            <Name>account2</Name>
            <Group>Fabrikam\Group2</Group>
         </DomainAccount wcm:action="add">
         <Domain>domain1</Domain>
      </DomainAccountList>
      <DomainAccountList wcm:action="add">
         <DomainAccount wcm:action="add">
            <Name>account3</Name>
            <Group>Fabrikam\Group2</Group>
         </DomainAccount wcm:action="add">
         <Domain>domain2</Domain>
     </DomainAccountList>
   </DomainAccounts>
</UserAccounts>

DomainAccountListDomainAccountList