Adding a <Subject> Element Adding a <Subject> Element To add a <Subject> element to your instance of %SAML.AssertionOpens in a new tab: Create a new instance of %SAML.SubjectOpens in a new tab. Set properties of the subject as needed. Set the Subject property of your assertion object equal to this instance.