ClaimsPrincipalPermission.Demand Method
Checks if the policy engine authorizes the current principal to perform the actions on the specified resources.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Verwendung
Dim instance As ClaimsPrincipalPermission instance.Demand
Syntax
'Declaration
Public Sub Demand
public void Demand ()
public:
virtual void Demand () sealed
public final void Demand ()
public final function Demand ()
Ausnahmen
Ausnahmetyp | Bedingung |
---|
Threadsicherheit
Beliebige öffentliche, statische (Freigegebene in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.
Plattformen
Entwicklungsplattformen
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
Siehe auch
Referenz
ClaimsPrincipalPermission Class
ClaimsPrincipalPermission Members
Microsoft.IdentityModel.Claims Namespace