Sitecore PowerShell Extensions
Slack
YouTube
Stack Exchange
Donate
Search…
Introduction
Disclaimer
Installation
Training
Community
Interfaces
Working with Items
Modules
Remoting
Security
Releases
Troubleshooting
Code Snippets
Appendix
Common
Indexing
Packaging
Presentation
Provider
Security
Add-ItemAcl
Add-RoleMember
Clear-ItemAcl
Disable-User
Enable-User
Export-Role
Export-User
Get-Domain
Get-ItemAcl
Get-Role
Get-RoleMember
Get-User
Import-Role
Import-User
Lock-Item
Login-User
Logout-User
New-Domain
New-ItemAcl
New-Role
New-User
Protect-Item
Remove-Domain
Remove-Role
Remove-RoleMember
Remove-User
Set-ItemAcl
Set-User
Set-UserPassword
Test-Account
Test-ItemAcl
Unlock-Item
Unprotect-Item
Unlock-User
Session
Powered By
GitBook
Remove-RoleMember
Removes one or more Sitecore users from the specified role.
Syntax
Remove-RoleMember [-Identity] <AccountIdentity> -Members <AccountIdentity[]>
Detailed Description
The Remove-RoleMember command gets a role and removes members of the Sitecore role.
The Identity parameter specifies the Sitecore role to get. You can specify a role by its local name or fully qualified name.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Parameters
-Identity <AccountIdentity>
Specifies the Sitecore role by providing one of the following values.
1
Local Name
2
Example: developer
3
Fully Qualified Name
4
Example: sitecore\developer
Copied!
Aliases
​
Required?
true
Position?
1
Default Value
​
Accept Pipeline Input?
true (ByValue)
Accept Wildcard Characters?
false
-Members <AccountIdentity[]>
Aliases
​
Required?
true
Position?
named
Default Value
​
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
System.String
Represents the identity of a 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
1
PS master:\> Remove-RoleMember -Identity developer -Members "michael","adam","mike"
Copied!
Related Topics
​
https://github.com/SitecorePowerShell/Console/
​
Add-RoleMember
​
​
Get-RoleMember
​
Previous
Remove-Role
Next
Remove-User
Last modified
2yr ago
Export as PDF
Copy link
Contents
Syntax
Detailed Description
Parameters
-Identity <AccountIdentity>
-Members <AccountIdentity[]>
Inputs
Outputs
Notes
Examples
EXAMPLE
Related Topics