SamlSubjectStatement.SamlSubject Property


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

Gets or sets the subject of a SamlSecurityToken security token.

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

public SamlSubject SamlSubject { get; set; }

Property Value

Type: System.IdentityModel.Tokens.SamlSubject

A SamlSubject that identifies the subject of a SamlSecurityToken security token.

Exception Condition

The SamlSubject property is set and the IsReadOnly property is true.

The SamlSubject property corresponds to the <saml:Subject> element that is defined in the Assertions and Protocol for the OASIS SAML specification.

.NET Framework
Available since 3.0
Return to top