Unlock-User
Last updated
Unlocks a Sitecore user using the specified criteria.
Unlock-User [-Identity] <AccountIdentity>
Unlock-User -Instance <User>
The Unlock-User command gets a user and unlocks the account in Sitecore.
The Identity parameter specifies the Sitecore user to get. You can specify a user by its local name or fully qualified name. You can also specify user object variable, such as $<user>.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Required?
true
Position?
1
Default Value
Accept Pipeline Input?
true (ByValue)
Accept Wildcard Characters?
false
Specifies the Sitecore user by providing an instance of a user.
Required?
true
Position?
named
Default Value
Accept Pipeline Input?
true (ByValue)
Accept Wildcard Characters?
false
The input type is the type of the objects that you can pipe to the cmdlet.
System.String
Represents the identity of a user.
Sitecore.Security.Accounts.User One or more user instances.
The output type is the type of the objects that the cmdlet emits.
None.
Help Author: Adam Najmanowicz, Michael West
Last updated
PS master:\> Unlock-User -Identity michaelPS master:\> Get-User -Filter * | Unlock-User