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