Editar

Compartir a través de


Set-AdfsApplicationPermission

Modifies application permissions.

Syntax

Set-AdfsApplicationPermission
   [-TargetIdentifier] <String>
   [-ScopeNames <String[]>]
   [-Description <String>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AdfsApplicationPermission
   [-TargetIdentifier] <String>
   -AddScope <String[]>
   [-Description <String>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AdfsApplicationPermission
   [-TargetIdentifier] <String>
   -RemoveScope <String[]>
   [-Description <String>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AdfsApplicationPermission
   [-InputObject] <OAuthPermission>
   [-ScopeNames <String[]>]
   [-Description <String>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AdfsApplicationPermission
   [-InputObject] <OAuthPermission>
   -AddScope <String[]>
   [-Description <String>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AdfsApplicationPermission
   [-InputObject] <OAuthPermission>
   -RemoveScope <String[]>
   [-Description <String>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AdfsApplicationPermission
   [[-TargetClientRoleIdentifier] <String>]
   [[-TargetServerRoleIdentifier] <String>]
   [-ScopeNames <String[]>]
   [-Description <String>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AdfsApplicationPermission
   [[-TargetClientRoleIdentifier] <String>]
   [[-TargetServerRoleIdentifier] <String>]
   -AddScope <String[]>
   [-Description <String>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AdfsApplicationPermission
   [[-TargetClientRoleIdentifier] <String>]
   [[-TargetServerRoleIdentifier] <String>]
   -RemoveScope <String[]>
   [-Description <String>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Set-AdfsApplicationPermission cmdlet modifies application permissions.

Parameters

-AddScope

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Description

Specifies a description.

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

-InputObject

Specifies an OAuthPermission object.

Type:OAuthPermission
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-RemoveScope

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

-ScopeNames

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

-TargetClientRoleIdentifier

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

-TargetIdentifier

Specifies the identifier of the target.

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

-TargetServerRoleIdentifier

Specifies the identifier of the target server role.

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

String

String objects are received by the AddScope, Description, RemoveScope, ScopeNames, TargetClientRoleIdentifier, TargetIdentifier, and TargetServerRoleIdentifier parameters.

OAuthPermission

OAuthPermission objects are received by the InputObject parameter.