This topic has not yet been rated - Rate this topic

SamlAuthorizationDecisionClaimResource Constructor

Initializes a new instance of the SamlAuthorizationDecisionClaimResource class using the specified resource the subject is seeking access to, the authorization decision regarding the resource, the action sought on the resource, and the XML namespace in which the action is defined.

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)
public SamlAuthorizationDecisionClaimResource(
	string resource,
	SamlAccessDecision accessDecision,
	string actionNamespace,
	string actionName
)

Parameters

resource
Type: System.String

The resource the subject is seeking access to.

accessDecision
Type: System.IdentityModel.Tokens.SamlAccessDecision

The authorization decision rendered by the SAML authority regarding the access to the resource by the subject.

actionNamespace
Type: System.String

The XML namespace in which the action specified in the action parameter is defined.

actionName
Type: System.String

The action sought by the subject on the resource specified in the resource parameter.

ExceptionCondition
ArgumentNullException

resource is null.

-or-

actionName is null.

The following table details the properties set by the parameters passed to this constructor.

Parameter

Property

resource

Resource

accessDecision

AccessDecision

actionNamespace

ActionNamespace

actionName

ActionName

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.