DomainAccountListDomainAccountList

DomainAccountList 為指定的網域和網域帳戶,建立並在安裝期間新增至電腦上的本機安全性群組的清單項目類型。DomainAccountList is a list item type that specifies the domains and the domain accounts to be created and added to local security groups on the computer during installation.

子項目Child Elements

設定Setting 描述Description
網域Domain 指定的網域名稱DomainAccountListSpecifies the name of the domain for the DomainAccountList.
DomainAccountDomainAccount 指定要在安裝期間新增到電腦上的本機安全性群組的網域帳戶的詳細資料。Specifies the details of domain accounts to be added to local security groups on the computer during installation.

有效的設定階段Valid Configuration Passes

auditSystemauditSystem

oobeSystemoobeSystem

父階層Parent Hierarchy

Microsoft-Windows-Shell-Setup | UserAccounts | DomainAccounts | DomainAccountListMicrosoft-Windows-Shell-Setup | UserAccounts | DomainAccounts | DomainAccountList

套用至Applies To

如需支援的 Windows 版本與此元件支援的架構,請參閱Microsoft Windows Shell-安裝For a 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>

DomainAccountsDomainAccounts