Creates and returns a new instance of ClaimsPrincipalPermission class.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As ClaimsPrincipalPermissionAttribute
Dim returnValue As IPermission

returnValue = instance.CreatePermission

Syntax

Visual Basic
Public Overrides Function CreatePermission As IPermission
C#
public override IPermission CreatePermission ()
C++
public:
virtual IPermission^ CreatePermission () override
J#
public IPermission CreatePermission ()
JScript
public override function CreatePermission () : IPermission

Exceptions

Exception type Condition

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also