Share via


Get-AdminFlowOwnerRole

Retrieves owner permissions to the flow.

Syntax

Flow (Default)

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

Environment

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

User

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

Description

The Get-AdminFlowOwnerRole cmdlet retrieves owner permissions to the flow. Use Get-Help Get-AdminFlowOwnerRole -Examples for more detail.

Examples

EXAMPLE 1

Get-AdminFlowOwnerRole -Owner aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb

Returns all flow permissions across all environments for the user with an object id of aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb.

EXAMPLE 2

Get-AdminFlowOwnerRole -EnvironmentName 3c2f7648-ad60-4871-91cb-b77d7ef3c239 -Owner aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb

Returns all flow permissions within environment with ID 3c2f7648-ad60-4871-91cb-b77d7ef3c239 for the user with an object id of aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb.

EXAMPLE 3

Get-AdminFlowOwnerRole -FlowName 4d1f7648-ad60-4871-91cb-b77d7ef3c239 -EnvironmentName 3c2f7648-ad60-4871-91cb-b77d7ef3c239 -Owner aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb

Returns all flow permissions for the flow with ID 4d1f7648-ad60-4871-91cb-b77d7ef3c239 in environment 3c2f7648-ad60-4871-91cb-b77d7ef3c239 for the user with an object id of aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb.

EXAMPLE 4

Get-AdminFlowOwnerRole -FlowName 4d1f7648-ad60-4871-91cb-b77d7ef3c239 -EnvironmentName 3c2f7648-ad60-4871-91cb-b77d7ef3c239

Returns all permissions for the flow with ID 4d1f7648-ad60-4871-91cb-b77d7ef3c239 in environment 3c2f7648-ad60-4871-91cb-b77d7ef3c239.

Parameters

-ApiVersion

The api version to call with.

Parameter properties

Type:String
Default value:2016-11-01
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

-EnvironmentName

The environment ID of the flow.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Flow
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
Environment
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-FlowName

Specifies the flow ID.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Flow
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-Owner

A object ID of the user you want to filter by.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Flow
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.