Online Help > PowerShell Scripting

Remove-RDMRoleToUser

SYNOPSIS

Remove a role to an user.

 

SYNTAX

Remove-RDMRoleToUser -Role [Role] <PSRoleInfo> -User [User] <PSUserInfo> [<CommonParameters>]

 

DESCRIPTION

Remove a role to an user.

 

PARAMETERS

  -Role <PSRoleInfo>

(Required) Role object, must be retrieved from Get-RDMRole or created via New-RDMRole.

 

  -User <PSUserInfo>

(Required) User object, must be retrieved from Get-RDMUser or created via New-RDMUser.

 

  <CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable,OutBuffer and OutVariable.For more information, type, "get-help about_commonparameters".

 

NOTES

For more information, type "Get-Help Remove-RDMRoleToUser -detailed". For technical information, type "Get-Help Remove-RDMRoleToUser -full".

 

EXAMPLE 1

PS C:\> Remove-RDMRoleToUser -Role $role -User $user

 

Remove role to an user.

 

RELATED LINKS

Add-RDMRoleToUser

Get-RDMRole

Get-RDMUser

New-RDMRole

New-RDMUser

Set-RDMUser