< Back

Set-AdminFlowOwnerRole

Sat Jan 18, 2020 3:50 pm

NAME Set-AdminFlowOwnerRole



SYNOPSIS

sets owner permissions to the flow.





SYNTAX

Set-AdminFlowOwnerRole -FlowName <String> -EnvironmentName <String> -PrincipalType <String> -RoleName <String>

-PrincipalObjectId <String> [-ApiVersion <String>] [<CommonParameters>]





DESCRIPTION

The Set-AdminFlowOwnerRole set up permission to flow depending on parameters.

Use Get-Help Set-AdminFlowOwnerRole -Examples for more detail.





PARAMETERS

-FlowName <String>

Specifies the flow id.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-EnvironmentName <String>

Limit app returned to those in a specified environment.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-PrincipalType <String>

Specifies the type of principal that is being added as an owner; User or Group (security group)



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-RoleName <String>

Specifies the access level for the user on the flow; CanView or CanEdit



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PrincipalObjectId <String>

Specifies the principal object Id of the user or security group.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ApiVersion <String>



Required? false

Position? named

Default value 2016-11-01

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Set-AdminFlowOwnerRole -PrincipalType Group -PrincipalObjectId b049bf12-d56d-4b50-8176-c6560cbd35aa

-RoleName CanEdit -FlowName 1ec3c80c-c2c0-4ea6-97a8-31d8c8c3d488 -EnvironmentName

Default-55abc7e5-2812-4d73-9d2f-8d9017f8c877



Add the specified security group as an owner fo the flow with name 1ec3c80c-c2c0-4ea6-97a8-31d8c8c3d488











RELATED LINKS