Remove-PartnerCustomerUserRoleMember
Removes a customer user from a specified role.
Syntax
Default (Default)
Remove-PartnerCustomerUserRoleMember
-CustomerId <String>
[-UserId <String>]
[-RoleId <String>]
[<CommonParameters>]
Description
The Remove-PartnerCustomerUserRoleMember cmdlets removes a specified role to the target customer user.
Examples
Example 1
PS C:\> Remove-PartnerCustomerUserRoleMember -CustomerId c4f6bf3c-60de-432e-a3ec-20bcc5b26ec2 -UserId 00aa00aa-bb11-cc22-dd33-44ee44ee44ee -RoleId 62e90394-69f5-4237-9190-012177145e10
Removes the specified user with the identifier of 00aa00aa-bb11-cc22-dd33-44ee44ee44ee from the role with the identifier of 62e90394-69f5-4237-9190-012177145e10.
Parameters
-CustomerId
Identifier for the customer.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-RoleId
Identifier for the role.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-UserId
Identifier for the user.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.