OrgContainer DataObject
OrgContainer is an organizational container.
OrgContainer DataObject represents either an Organization or an Organizational Unit.
The structure of an OrgContainer data object consists of:
- identifier
- contains a single IdentifierType data object.
- parent
- is a containment property which is used to link to the parent of the entity in the virtual member manager hierarchy. It only contains a single Entity data object because an entity can only have one parent. Also, because any entity can be parent of any other entity, the data object in the property is an Entity data object.
- children
- is a containment property that is used to link to the children of the entity in the virtual member manager hierarchy. It contains multiple Entity data objects because an entity can have multiple children. Also, because any entity can be a child of another entity, the data object in the property is an Entity data object.
- groups
- is a containment property which is used to link to the groups this entity belongs to. It contains multiple Group data objects because an entity can belong to multiple groups.
- additional properties
- o
- ou
- telephoneNumber
- facisimileTelephoneNumber
- postalAddress
- localityName
- stateOrProvinceName
- street
- postalCode
- businessAddress
XML schema definition
The following is the XML schema
definition for OrgContainer DataObject:
<xsd:complexType name="OrgContainer">
<xsd:complexContent>
<xsd:extension base="Party">
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" ref="o"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="ou"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="dc"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="cn"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="telephoneNumber"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="facsimileTelephoneNumber"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="postalAddress"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="localityName"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="stateOrProvinceName"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="street"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="postalCode"/>
<xsd:element ref="businessAddress" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
Sample data object
Following is a sample OrgContainer
data object that contains the o property:
<wim:Root>
<wim:entities xsi:type="wim:OrgContainer">
<wim:identifier externalName="o=Sales,cn=people,dc=soundpost,dc=com"
repositoryId="LDAP1"
uniqueId="eeee9201-1dd111b2-80d5f611-4d759b2b"
uniqueName="o=Sales,cn=users,dc=yourco,dc=com"/>
<wim:o>Sales</wim:o>
</wim:entities>
</wim:Root>