Editar

Compartir a través de


Grant-AdfsApplicationPermission

Grants application permission.

Syntax

Grant-AdfsApplicationPermission
     [-ClientRoleIdentifier] <String>
     [-ServerRoleIdentifier] <String>
     [[-ScopeNames] <String[]>]
     [-Description <String>]
     [-PassThru]
     [-WhatIf]
     [-Confirm]
     [<CommonParameters>]
Grant-AdfsApplicationPermission
     [-AllowAllRegisteredClients]
     [-ServerRoleIdentifier] <String>
     [[-ScopeNames] <String[]>]
     [-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.

Type:SwitchParameter
Accepted values:true
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ClientRoleIdentifier

Specifies a client role identifier.

Type:String
Position:0
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

-PassThru

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

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

-ScopeNames

Specifies an array of scope names.

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

-ServerRoleIdentifier

Specifies a server role identifier.

Type:String
Position:1
Default value:None
Required:True
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

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.