Remove-PartnerCustomerUserRoleMember
Removes a customer user from a specified role.
Syntax
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 17765f05-723c-4be4-89e2-c7d1cdbb0906 -RoleId 62e90394-69f5-4237-9190-012177145e10
Removes the specified user with the identifier of 17765f05-723c-4be4-89e2-c7d1cdbb0906 from the role with the identifier of 62e90394-69f5-4237-9190-012177145e10.
Parameters
-CustomerId
Identifier for the customer.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RoleId
Identifier for the role.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UserId
Identifier for the user.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
System.Boolean