Κοινή χρήση μέσω


Remove-AdminFlowOwnerRole

Removes owner permissions to the flow.

Syntax

Remove-AdminFlowOwnerRole
      [-ApiVersion <String>]
      -FlowName <String>
      -EnvironmentName <String>
      -RoleId <String>
      [<CommonParameters>]

Description

The Remove-AdminFlowOwnerRole cmdlet sets up permission to a flow depending on the parameters. Use Get-Help Remove-AdminFlowOwnerRole -Examples for more detail.

Examples

EXAMPLE 1

Remove-AdminFlowOwnerRole -EnvironmentName "Default-55abc7e5-2812-4d73-9d2f-8d9017f8c877" -FlowName $flow.FlowName -RoleId "/providers/Microsoft.ProcessSimple/environments/Default-55abc7e5-2812-4d73-9d2f-8d9017f8c877/flows/791fc889-b9cc-4a76-9795-ae45f75d3e48/permissions/1ec3c80c-c2c0-4ea6-97a8-31d8c8c3d488"

Deletes flow permission for the given RoleId, FlowName, and EnvironmentName.

Parameters

-ApiVersion

Specifies the Api version that is called.

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

-EnvironmentName

The environment ID for the flow.

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

-FlowName

Specifies the flow ID.

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

-RoleId

Specifies the role ID of a user, or group, or tenant.

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