< Back

Remove-PartnerCustomerUserRoleMember

Sat Jan 18, 2020 6:35 pm

NAME Remove-PartnerCustomerUserRoleMember



SYNOPSIS

Removes a customer user from a specified role.





SYNTAX

Remove-PartnerCustomerUserRoleMember -CustomerId <String> [-RoleId <String>] [-UserId <String>]

[<CommonParameters>]





DESCRIPTION

The Remove-PartnerCustomerUserRoleMember cmdlets removes a specified role to the target customer user.





PARAMETERS

-CustomerId <String>

Identifier for the customer.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-RoleId <String>

Identifier for the role.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-UserId <String>

Identifier for the user.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None







OUTPUTS

System.Boolean







NOTES









-------------------------- 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.







RELATED LINKS

Online Version: https://docs.microsoft.com/powershell/m ... RoleMember