Get-AdminFlowOwnerRole

Gets owner permissions to a flow.

Syntax

Get-AdminFlowOwnerRole
   -EnvironmentName <String>
   -FlowName <String>
   [-Owner <String>]
   [-ApiVersion <String>]
   [<CommonParameters>]
Get-AdminFlowOwnerRole
   -EnvironmentName <String>
   -Owner <String>
   [-ApiVersion <String>]
   [<CommonParameters>]
Get-AdminFlowOwnerRole
   -Owner <String>
   [-ApiVersion <String>]
   [<CommonParameters>]

Description

This cmdlet contains more than one parameter set. You may only use parameters from one parameter set, and you may not combine parameters from different parameter sets. For more information about how to use parameter sets, see Cmdlet parameter sets.

The Get-AdminFlowOwnerRole cmdlet retrieves owner permissions to the flow.

Examples

EXAMPLE 1

Get-AdminFlowOwnerRole -Owner [Guid]

Returns all flow permissions across all environments for the specified user.

EXAMPLE 2

Get-AdminFlowOwnerRole -EnvironmentName [Guid] -Owner [Guid]

Returns all flow permissions within the specified environment for the specified user.

EXAMPLE 3

Get-AdminFlowOwnerRole -FlowName [Guid] -EnvironmentName [Guid] -Owner [Guid]

Returns all flow permissions for the specified user in the specified flow within the specified environment.

EXAMPLE 4

Get-AdminFlowOwnerRole -FlowName [Guid] -EnvironmentName [Guid]

Returns all flow permissions for the specified flow within the specified environment.

Parameters

-ApiVersion

Version of Power Apps API to use.

Type:String
Position:Named
Default value:2016-11-01
Accept pipeline input:False
Accept wildcard characters:False

-EnvironmentName

ID of the environment of the flow.

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

-FlowName

Name of the flow within the environment that you specify.

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

-Owner

Object ID of the user to filter by.

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