編集

次の方法で共有


Set-AdfsApplicationPermission

Modifies application permissions.

Syntax

Identifier (Default)

Set-AdfsApplicationPermission
    [-TargetIdentifier] <String>
    [-ScopeNames <String[]>]
    [-Description <String>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

IdentifierAddScope

Set-AdfsApplicationPermission
    [-TargetIdentifier] <String>
    -AddScope <String[]>
    [-Description <String>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

IdentifierRemoveScope

Set-AdfsApplicationPermission
    [-TargetIdentifier] <String>
    -RemoveScope <String[]>
    [-Description <String>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

InputObject

Set-AdfsApplicationPermission
    [-InputObject] <OAuthPermission>
    [-ScopeNames <String[]>]
    [-Description <String>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

InputObjectAddScope

Set-AdfsApplicationPermission
    [-InputObject] <OAuthPermission>
    -AddScope <String[]>
    [-Description <String>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

InputObjectRemoveScope

Set-AdfsApplicationPermission
    [-InputObject] <OAuthPermission>
    -RemoveScope <String[]>
    [-Description <String>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

RoleIdentifier

Set-AdfsApplicationPermission
    [[-TargetClientRoleIdentifier] <String>]
    [[-TargetServerRoleIdentifier] <String>]
    [-ScopeNames <String[]>]
    [-Description <String>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

RoleIdentifierAddScope

Set-AdfsApplicationPermission
    [[-TargetClientRoleIdentifier] <String>]
    [[-TargetServerRoleIdentifier] <String>]
    -AddScope <String[]>
    [-Description <String>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

RoleIdentifierRemoveScope

Set-AdfsApplicationPermission
    [[-TargetClientRoleIdentifier] <String>]
    [[-TargetServerRoleIdentifier] <String>]
    -RemoveScope <String[]>
    [-Description <String>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Set-AdfsApplicationPermission cmdlet modifies application permissions.

Parameters

-AddScope

The Set-AdfsApplicationPermission cmdlet modifies application permissions.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

IdentifierAddScope
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
InputObjectAddScope
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
RoleIdentifierAddScope
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Description

Specifies a description.

Parameter properties

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

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-InputObject

Specifies an OAuthPermission object.

Parameter properties

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

Parameter sets

InputObject
Position:0
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False
InputObjectAddScope
Position:0
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False
InputObjectRemoveScope
Position:0
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-RemoveScope

The Set-AdfsApplicationPermission cmdlet modifies application permissions.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

IdentifierRemoveScope
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
InputObjectRemoveScope
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
RoleIdentifierRemoveScope
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-ScopeNames

The Set-AdfsApplicationPermission cmdlet modifies application permissions.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Identifier
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
InputObject
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
RoleIdentifier
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-TargetClientRoleIdentifier

The Set-AdfsApplicationPermission cmdlet modifies application permissions.

Parameter properties

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

Parameter sets

RoleIdentifier
Position:0
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
RoleIdentifierAddScope
Position:0
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
RoleIdentifierRemoveScope
Position:0
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-TargetIdentifier

Specifies the identifier of the target.

Parameter properties

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

Parameter sets

Identifier
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
IdentifierAddScope
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
IdentifierRemoveScope
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-TargetServerRoleIdentifier

Specifies the identifier of the target server role.

Parameter properties

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

Parameter sets

RoleIdentifier
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
RoleIdentifierAddScope
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False
RoleIdentifierRemoveScope
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-WhatIf

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

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
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.

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.