Remove-Role
Removes a Sitecore role.
Syntax
Remove-Role [-Identity] <AccountIdentity>
Remove-Role -Instance <Role>
Detailed Description
The Remove-Role command removes a Sitecore role.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Parameters
-Identity <AccountIdentity>
Role name including domain. If no domain is specified - 'sitecore' will be used as the default value
Required?
true
Position?
1
Default Value
Accept Pipeline Input?
true (ByValue)
Accept Wildcard Characters?
false
-Instance <Role>
Role instance like that returned by the Get-Role command.
Required?
true
Position?
named
Default Value
Accept Pipeline Input?
true (ByValue)
Accept Wildcard Characters?
false
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Sitecore.Security.Accounts.Role
Outputs
The output type is the type of the objects that the cmdlet emits.
None
Notes
Help Author: Adam Najmanowicz, Michael West
Examples
EXAMPLE
Related Topics
Last updated