Table of Contents

Class OrganizationName

Namespace
ComponentSpace.Saml2.Metadata
Assembly
ComponentSpace.Saml2.dll

Represents an organization name.

public class OrganizationName : LocalizedNameType
Inheritance
OrganizationName
Inherited Members

Remarks

Refer to the Metadata for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.

Constructors

OrganizationName()

Initializes a new instance of the OrganizationName class.

public OrganizationName()

OrganizationName(XmlElement)

Initializes a new instance of the OrganizationName class from XML.

public OrganizationName(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The organization name XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Methods

IsValid(XmlElement)

Indicates whether the XML is an organization name.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is an organization name; otherwise false.

ToXml(XmlDocument)

Serializes the organization name to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The organization name as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.