Export (0) Print
Expand All

SamlAuthorizationDecisionStatement Constructor (SamlSubject, String, SamlAccessDecision, IEnumerable<SamlAction>)

Initializes a new instance of the SamlAuthorizationDecisionStatement class. using the specified subject, resource, authorization decision, and the actions sought by the subject on the resource.

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public SamlAuthorizationDecisionStatement(
	SamlSubject samlSubject,
	string resource,
	SamlAccessDecision accessDecision,
	IEnumerable<SamlAction> samlActions


Type: System.IdentityModel.Tokens.SamlSubject

A SamlSubject that represents the subject of the claim. Sets the SamlSubject property.

Type: System.String

A URI reference that identifies the resource to which access is sought. Sets the Resource property.

Type: System.IdentityModel.Tokens.SamlAccessDecision

A SamlAccessDecision that specifies the authorization decision rendered by the SAML authority with respect to access by the subject to the specified resource. Sets the AccessDecision property.

Type: System.Collections.Generic.IEnumerable<SamlAction>

An IEnumerable<T> of type SamlAction that specifies the set of actions that the subject is authorized to perform on the resource. Sets the SamlActions property.


samlActions is null.


samlActions contains a member that is null.


samlSubject is null.


authorityBindings contains a member that is null.


resource is null or empty.

This constructor initializes the IsReadOnly property to false, the ClaimType property to http://schemas.microsoft.com/mb/2005/09/ClaimType/SamlAuthorizationDecision, and the Evidence property to null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft