Table of contents
TOC
Collapse the table of content
Expand the table of content

Username

Last Updated: 12/12/2016

Username specifies the name of the account used to authenticate the Path.

Values

User_name

Specifies the user name of the account used for authentication.

User_name is a string.

This string type supports empty elements.

Valid Passes

windowsPE

Parent Hierarchy

microsoft-windows-pnpcustomizationswinpe- | DriverPaths | PathAndCredentials | Credentials | Username

Applies To

For the list of the supported Windows editions and architectures that this component supports, see microsoft-windows-pnpcustomizationswinpe-.

XML Example

The following XML output specifies the Universal Naming Convention (UNC) paths to two additional locations for device drivers and the credentials used to access those paths.

<DriverPaths>
<!-- First PathAndCredentials list item -->
   <PathAndCredentials wcm:action="add" wcm:keyValue="1">
      <Path>\\myFirstDriverPath\DriversFolder</Path>
      <Credentials>
         <Domain>MyDomain</Domain>
         <Username>MyUsername</Username>
         <Password>MyPassword</Password>
      </Credentials>
   </PathAndCredentials>
<!-- Second PathAndCredentials list item -->
   <PathAndCredentials wcm:action="add" wcm:keyValue="2">
      <Path>C:\Drivers</Path>
      <Credentials>
         <Domain>MyComputerName</Domain>
         <Username>MyUsername</Username>
         <Password>MyPassword</Password>
      </Credentials>
   </PathAndCredentials>
</DriverPaths>

Credentials

Send comments about this topic to Microsoft

© 2017 Microsoft