Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
75 lines (50 loc) · 1.56 KB

Get-PCCustomerUserRole.md

File metadata and controls

75 lines (50 loc) · 1.56 KB

Get-PCCustomerUserRole

Returns a list of customer user roles for the specified tenant.

SYNTAX

Get-PCCustomerUserRole [[-TenantId] <String>] [[-UserId] <String>] [[-SaToken] <String>] [<CommonParameters>]

DESCRIPTION

The Get-PCCustomerUserRoles cmdlet returns a list of roles for a specified tenant or user.

PARAMETERS

-TenantId <String>

Specifies the tenant is used for scoping this cmdlet.

Required?                    false
Position?                    1
Default value                $GlobalCustomerId
Accept pipeline input?       false
Accept wildcard characters?  false

-UserId <String>

Specifies the user id for which to retrieve the roles.

Required?                    false
Position?                    2
Default value
Accept pipeline input?       false
Accept wildcard characters?  false

-SaToken <String>

Specifies an authentication token with your Partner Center credentials.

Required?                    false
Position?                    3
Default value                $GlobalToken
Accept pipeline input?       false
Accept wildcard characters?  false

INPUTS

OUTPUTS

NOTES

EXAMPLES

EXAMPLE 1

Get a list of all roles for the specified tenant.

PS C:\>Get-PCCustomerUserRole -TenantId a7bc20f7-6041-4165-8bef-59d0e7e8d67b

EXAMPLE 2

Get a list of all the roles for the specified tenant id and user id.

PS C:\>Get-PCCustomerUserRole -TenantId a7bc20f7-6041-4165-8bef-59d0e7e8d67b -UserId e2e56b09-aac5-4685-947d-29e735ee7ed7