Get-AdminPowerAppRoleAssignment
Returns permission information about one or more apps.
Syntax
Get-AdminPowerAppRoleAssignment
-UserId <String>
[-ApiVersion <String>]
[<CommonParameters>]
Get-AdminPowerAppRoleAssignment
-EnvironmentName <String>
-UserId <String>
[-ApiVersion <String>]
[<CommonParameters>]
Get-AdminPowerAppRoleAssignment
-EnvironmentName <String>
-AppName <String>
[-UserId <String>]
[-ApiVersion <String>]
[<CommonParameters>]
Description
The Get-AdminPowerAppRoleAssignment cmdlet returns permission information about one or more apps. Use Get-Help Get-AdminPowerAppRoleAssignment -Examples for more detail.
Examples
EXAMPLE 1
Get-AdminPowerAppRoleAssignments -UserId 00aa00aa-bb11-cc22-dd33-44ee44ee44ee
Returns all app role assignments across all environments for the user with an object ID of 00aa00aa-bb11-cc22-dd33-44ee44ee44ee.
EXAMPLE 2
Get-AdminPowerAppRoleAssignments -EnvironmentName 00000000-0000-0000-0000-000000000000 -UserId 00aa00aa-bb11-cc22-dd33-44ee44ee44ee
Returns all app role assignments within environment with id 00000000-0000-0000-0000-000000000000 for the user with an object ID of 00aa00aa-bb11-cc22-dd33-44ee44ee44ee.
EXAMPLE 3
Get-AdminPowerAppRoleAssignments -AppName 00001111-aaaa-2222-bbbb-3333cccc4444 -EnvironmentName 00000000-0000-0000-0000-000000000000 -UserId 00aa00aa-bb11-cc22-dd33-44ee44ee44ee
Returns all role assignments for the app with ID 00001111-aaaa-2222-bbbb-3333cccc4444 in environment 00000000-0000-0000-0000-000000000000 for the user with an object ID of 00aa00aa-bb11-cc22-dd33-44ee44ee44ee.
EXAMPLE 4
Get-AdminPowerAppRoleAssignments -AppName 00001111-aaaa-2222-bbbb-3333cccc4444 -EnvironmentName 00000000-0000-0000-0000-000000000000
Returns all role assignments for the app with ID 00001111-aaaa-2222-bbbb-3333cccc4444 in environment 00000000-0000-0000-0000-000000000000.
Parameters
-ApiVersion
The api version to call with.
Type: | String |
Position: | Named |
Default value: | 2016-11-01 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AppName
Finds a specific ID.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-EnvironmentName
Limit apps returned to those in a specified environment.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-UserId
A object ID of the user you want to filter by.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |