Creates an instance of the ClaimsPrincipalPermission class.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim resource As String
Dim action As String

Dim instance As New ClaimsPrincipalPermission(resource, action)

Syntax

Visual Basic
Public Sub New ( _
		resource As String, _
		action As String _
)
C#
public ClaimsPrincipalPermission (
		string resource,
		string action
)
C++
public:
ClaimsPrincipalPermission (
		String^ resource, 
		String^ action
)
J#
public ClaimsPrincipalPermission (
		String resource, 
		String action
)
JScript
public function ClaimsPrincipalPermission (
		resource : String, 
		action : String
)

Parameters

resource

The resource requested by the principal.

action

The action requested by the principal.

Exceptions

Exception type Condition

Remarks


Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also