Enables the specified Sitecore user.
Enable-User [-Identity] <AccountIdentity>
Enable-User -Instance <User>
Detailed Description
The Enable-User command gets a user and enables 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
-Identity <AccountIdentity>
Specifies the Sitecore user by providing one of the following values.
Copy Local Name
Example: michael
Fully Qualified Name
Example: sitecore\michael Accept Wildcard Characters?
-Instance <User>
Specifies the Sitecore user by providing an instance of a user.
Accept Wildcard Characters?
The input type is the type of the objects that you can pipe to the cmdlet.
System.String
Represents the identity of one or more users.
Sitecore.Security.Accounts.User One or more user instances.
The output type is the type of the objects that the cmdlet emits.
Michael West