Get-PartnerCustomerUserRole
Gets a list of directory roles for a customer.
Syntax
Default (Default)
Get-PartnerCustomerUserRole
-CustomerId <String>
[-UserId <String>]
[<CommonParameters>]
Description
Gets a list of directory roles for a customer.
Examples
Example 1
PS C:\> Get-PartnerCustomerUserRole -CustomerId '46a62ece-10ad-42e5-b3f1-b2ed53e6fc08'
Gets a list of directory roles for a customer.
Example 2
PS C:\> Get-PartnerCustomerUserRole -CustomerId '46a62ece-10ad-42e5-b3f1-b2ed53e6fc08' -UserId '00aa00aa-bb11-cc22-dd33-44ee44ee44ee'
Gets a list of directory roles assigned to the specified user.
Parameters
-CustomerId
The 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 |
-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.