Logs a user in and performs further script instructions in the context of the user.
Login-User [-Identity] <GenericIdentity> [-Password] <String>
Logs a user in and performs further script instructions in the context of the user.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
User name including domain. If no domain is specified - 'sitecore' will be used as the default value
Aliases | |
---|---|
Required? | true |
Position? | 1 |
Default Value | |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
Password for the account provided using the -Identity parameter.
Aliases | |
---|---|
Required? | true |
Position? | 2 |
Default Value | |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
Help Author: Adam Najmanowicz, Michael West
PS master:\> Login-User -Identity "sitecore\admin" -Password "b"