Condividi tramite


Nome utente (microsoft-windows-deployment-runasynchronous-runasynchronouscommand-credentials-username)

UserName specifica il nome utente dell'account da usare per l'autenticazione.

Valori

Nome utente

Specifica il nome dell'account da usare per l'autenticazione. Il nome utente è una stringa.

Questi tipo di stringa non supporta elementi vuoti. Non creare un valore vuoto per questa impostazione.

Passaggi di configurazione validi

Audituser

specialize

Gerarchia padre

Microsoft-Windows-Deployment | RunAsynchronous | RunAsynchronousCommand | Credenziali | Nome utente

Si applica a

Per l'elenco delle edizioni e delle architetture di Windows supportate da questo componente, vedere Microsoft-Windows-Deployment.

Esempio XML

L'output XML seguente illustra come impostare comandi asincroni.

<RunAsynchronous>
   <RunAsynchronousCommand wcm:action="add">
      <Credentials>
         <Domain>MyDomain</Domain>
         <Password>MyPassword</Password>
         <Username>MyUsername</Username>
      </Credentials>
      <Description>AsynchCommand1</Description>
      <Order>1</Order>
      <Path>\\network\server\share\filename</Path>
   </RunAsynchronousCommand>
   <RunAsynchronousCommand wcm:action="add">
      <Credentials>
         <Domain>MyDomain</Domain>
         <Password>MyPassword</Password>
         <Username>MyUsername</Username>
      </Credentials>
      <Description>AsynchCommand2</Description>
      <Order>2</Order>
      <Path>\\network\server\share\filename</Path>
   </RunAsynchronousCommand>
</RunAsynchronous>

Credenziali