Saml2Assertion.Statements Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a collection that contains the statements regarding the subject made in this assertion.

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

public Collection<Saml2Statement> Statements { get; }

Property Value

Type: System.Collections.ObjectModel.Collection<Saml2Statement>

A collection of type Saml2Statement that contains the statements for this assertion.

Elements in this collection can be of type Saml2AttributeStatement, Saml2AuthenticationStatement, and/or Saml2AuthorizationDecisionStatement to represent each of the following SAML elements: AttributeStatement, AuthnStatement, and AuthzDecisionStatement.

.NET Framework
Available since 4.5
Return to top