編集

次の方法で共有


Grant-AdfsApplicationPermission

Grants application permission.

Syntax

ClientRoleIdentifier (Default)

Grant-AdfsApplicationPermission
    [-ClientRoleIdentifier] <String>
    [-ServerRoleIdentifier] <String>
    [[-ScopeNames] <String[]>]
    [-Description <String>]
    [-PassThru]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

PermitAllRegisteredClients

Grant-AdfsApplicationPermission
    [-ServerRoleIdentifier] <String>
    [[-ScopeNames] <String[]>]
    [-AllowAllRegisteredClients]
    [-Description <String>]
    [-PassThru]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Grant-AdfsApplicationPermission cmdlet grants application permission in Active Directory Federation Services (AD FS).

Parameters

-AllowAllRegisteredClients

Indicates whether to allow all registered clients.

Parameter properties

Type:SwitchParameter
Default value:None
Accepted values:true
Supports wildcards:False
DontShow:False

Parameter sets

PermitAllRegisteredClients
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-ClientRoleIdentifier

Specifies a client role identifier.

Parameter properties

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

Parameter sets

ClientRoleIdentifier
Position:0
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

-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

Parameter properties

Type:SwitchParameter
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:False
Value from remaining arguments:False

-ScopeNames

Specifies an array of scope names.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

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

-ServerRoleIdentifier

Specifies a server role identifier.

Parameter properties

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

Parameter sets

(All)
Position:1
Mandatory:True
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

SwitchParameter

SwitchParameter objects are received by the AllowAllRegisteredClients parameter.

String

String objects are received by the ClientRoleIdentifier, Description, ScopeNames, and ServerRoleIdentifier parameters.

Outputs

OAuthPermission

Returns the new OAuthPermission object when the PassThru parameter is specified. By default, this cmdlet does not generate any output.