Creates an AuthorizationContext with the
specified principal, resource, and action.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
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
Remarks
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also