Add-PartnerCustomerUserRoleMember

Adds a customer user to a specified role.

Syntax

Add-PartnerCustomerUserRoleMember
   -CustomerId <String>
   [-UserId <String>]
   [-RoleId <String>]
   [<CommonParameters>]

Description

The Add-PartnerCustomerUserRoleMember cmdlet adds a specified role to the target customer user.

Examples

Example 1

PS C:\> Add-PartnerCustomerUserRoleMember -CustomerId c4f6bf3c-60de-432e-a3ec-20bcc5b26ec2 -UserId 17765f05-723c-4be4-89e2-c7d1cdbb0906 -RoleId 62e90394-69f5-4237-9190-012177145e10

Adds the specified user with the identifier of 17765f05-723c-4be4-89e2-c7d1cdbb0906 to 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 customer user.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Boolean