Show / Hide Table of Contents

Class Organization

Represents an organization.

Inheritance
System.Object
Organization
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ComponentSpace.SAML2.Metadata
Assembly: ComponentSpace.Saml2.dll
Syntax
public class Organization
Remarks

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

Constructors

Organization()

Initializes a new instance of the Organization class.

Declaration
public Organization()

Organization(XmlElement)

Initializes a new instance of the Organization class from XML.

Declaration
public Organization(XmlElement xmlElement)
Parameters
Type Name Description
System.Xml.XmlElement xmlElement

The organization XML.

Exceptions
Type Condition
SAMLSerializationException

Thrown when the XML deserialization fails.

Properties

Extensions

Gets or sets the extensions.

Declaration
public Extensions Extensions { get; set; }
Property Value
Type Description
Extensions

The extensions.

OrganizationDisplayNames

Gets or sets the list of organization display names.

Declaration
public IList<OrganizationDisplayName> OrganizationDisplayNames { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<OrganizationDisplayName>

The list of organization display names.

OrganizationNames

Gets or sets the list of organization names.

Declaration
public IList<OrganizationName> OrganizationNames { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<OrganizationName>

The list of organization names.

OrganizationURLs

Gets or sets the list of organization URLs.

Declaration
public IList<OrganizationURL> OrganizationURLs { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<OrganizationURL>

The list of organization URLs.

Methods

IsValid(XmlElement)

Indicates whether the XML is an organization.

Declaration
public static bool IsValid(XmlElement xmlElement)
Parameters
Type Name Description
System.Xml.XmlElement xmlElement

The XML to test.

Returns
Type Description
System.Boolean

true if the XML is an organization; otherwise false.

ToXml(XmlDocument)

Serializes the organization to XML.

Declaration
public XmlElement ToXml(XmlDocument xmlDocument)
Parameters
Type Name Description
System.Xml.XmlDocument xmlDocument

The owning XML document.

Returns
Type Description
System.Xml.XmlElement

The organization as XML.

Exceptions
Type Condition
SAMLSerializationException

Thrown when the XML serialization fails.

In This Article
Back to top Copyright © ComponentSpace Pty Ltd 2004-2022. All rights reserved.