Saml2Serializer.WriteNameId(XmlWriter, Saml2NameIdentifier) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes the <saml:NameID> element.
protected virtual void WriteNameId (System.Xml.XmlWriter writer, Microsoft.IdentityModel.Tokens.Saml2.Saml2NameIdentifier nameIdentifier);
abstract member WriteNameId : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml2.Saml2NameIdentifier -> unit
override this.WriteNameId : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml2.Saml2NameIdentifier -> unit
Protected Overridable Sub WriteNameId (writer As XmlWriter, nameIdentifier As Saml2NameIdentifier)
Parameters
- writer
- XmlWriter
A XmlWriter to serialize the Saml2NameIdentifier.
- nameIdentifier
- Saml2NameIdentifier
The Saml2NameIdentifier to serialize.
Exceptions
if nameIdentifier
null.