SamlAssertion.MajorVersion Property

Definition

Gets the major version of the SAML specification to which this SAML assertion conforms.

public:
 property int MajorVersion { int get(); };
public int MajorVersion { get; }
member this.MajorVersion : int
Public ReadOnly Property MajorVersion As Integer

Property Value

The major version of the SAML specification to which this SAML assertion conforms. The default value is the value of the MajorVersionValue property.

Remarks

The MajorVersion property corresponds to the MajorVersion attribute of the <saml:Assertion> element defined in the Assertions and Protocol for the OASIS SAML specification.

Applies to