Username specifies the name of the user account with permission to add the computer to a domain during Windows Setup.
Specifies the name of the user account with permission to create a computer account in a domain or to use an existing computer account in a domain. User_name is a string.
The value for Username can be in user principal name (UPN) format (user@fully_qualified_DNS_domain_name), domain\username format, or fully-qualified-DNS-domain\username format. If any of these formats is specified, the Domain setting must be excluded.
This string type does not support empty elements. Do not create an empty value for this setting.
For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-UnattendedJoin.
The following XML output shows how to set the identification credentials.
<Identification> <Credentials> <Domain>fabrikam.com</Domain> <Password>MyPassword</Password> <Username>MyUserName</Username> </Credentials> <JoinDomain>fabrikam.com</JoinDomain> <MachinePassword>ComputerPassword</MachinePassword> </Identification>