編輯

共用方式為


Revoke-AdfsApplicationPermission

Revokes permission for an application.

Syntax

Revoke-AdfsApplicationPermission
      [-TargetIdentifier] <String>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Revoke-AdfsApplicationPermission
      [[-TargetClientRoleIdentifier] <String>]
      [[-TargetServerRoleIdentifier] <String>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Revoke-AdfsApplicationPermission
      [-InputObject] <OAuthPermission>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Revoke-AdfsApplicationPermission cmdlet revokes permission for an application in Active Directory Federation Services (AD FS).

Parameters

-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

-InputObject

Specifies an OAuthPermission object.

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

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

-TargetServerRoleIdentifier

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

OAuthPermission

OAuthPermission objects are received by the InputObject parameter.

String

String objects are received by the TargetClientRoleIdentifier, TargetIdentifier, and TargetServerRoleIdentifier parameters.