Creates an AuthorizationContext with the specified principal, resource, and action.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim principal As IClaimsPrincipal
Dim resource As String
Dim action As String

Dim instance As New AuthorizationContext(principal, resource, action)

Syntax

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

Parameters

principal

The principal to be authorized.

resource

The resource to be authorized for.

action

The action to be performed on the resource.

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