# Class: XmlLdapContainer

## tibco.objectapi.de.ldap.XmlLdapContainer

#### new XmlLdapContainer()

Definition of an LDAP container and any LDAP Source entries that it contains. Constructs a new XmlLdapContainer.

The following features are supported:

- `Primary Ldap`
- `Primary Group Ldap`
- `Secondary Ldap`
- `Secondary Group Ldap`
- `Attribute Mapping`
- `Administered Organisation`
- `Active`
- `Description`
- `Entity Count`
- `Id`
- `Last Accessed`
- `Name`

### Members

#### active :boolean

Indicates if this container has been marked as deleted. This property holds the value of the 'Active' attribute.

##### Type:

- boolean

#### administeredOrganisation :Array.<tibco.objectapi.de.ldap.XmlAdministeredOrganisations>

(Optional) Defines the list of organizations to which this container can map resources. If the organization is not in this list then this LDAP container can only be used to map users to organizations that have no restrictions. This property holds the value of the 'Administered Organisation' containment reference list.

##### Type:

- Array.<tibco.objectapi.de.ldap.XmlAdministeredOrganisations>

#### attributeMapping :Array.<tibco.objectapi.de.ldap.XmlLdapAttributeContainerMapping>

(Optional) Definition of a mapping of an organization model business attribute to an LDAP attribute. This can be used to obtain business attribute values from an LDAP direectory. This property holds the value of the 'Attribute Mapping' containment reference list.

##### Type:

- Array.<tibco.objectapi.de.ldap.XmlLdapAttributeContainerMapping>

#### description :string

Description of the LDAP container. This property holds the value of the 'Description' attribute.

##### Type:

- string

#### entityCount :number

Only specified when this XmlLdapContainer is used in a service response. The count of the number of LDAP entries this container referenced. This count is set when the container is queried. The count may not be currently correct if the LDAP directory has been modified since the count was set. This property holds the value of the 'Entity Count' attribute.

##### Type:

- number

#### id :string

Unique ID of the LDAP container. This property holds the value of the 'Id' attribute.

##### Type:

- string

#### lastAccessed :Date

Date and time on which the LDAP container was last queried, and the date on which the entity-count above was set. This property holds the value of the 'Last Accessed' attribute.

##### Type:

- Date

#### name :string

Unique name of the LDAP container. This property holds the value of the 'Name' attribute.

##### Type:

- string

#### primaryGroupLdap :tibco.objectapi.de.ldap.XmlLdapGroupSource

Definition of the primary LDAP source for this LDAP container. This property holds the value of the 'Primary Group Ldap' containment reference.

##### Type:

- tibco.objectapi.de.ldap.XmlLdapGroupSource

#### primaryLdap :tibco.objectapi.de.ldap.XmlLdapContainerResource

Definition of the primary LDAP source for this LDAP container. This property holds the value of the 'Primary Ldap' containment reference.

##### Type:

- tibco.objectapi.de.ldap.XmlLdapContainerResource

#### secondaryGroupLdap :Array.<tibco.objectapi.de.ldap.XmlSecondaryLdapGroupSource>

(Optional) Definition of a secondary LDAP source for this LDAP container. An LDAP container can have any number of secondary LDAP sources. A secondary LDAP source provides the ability to retrieve some LDAP data from an alternative LDAP server. Named LDAP attributes are used to map the secondary LDAP source to the primary LDAP source. This property holds the value of the 'Secondary Group Ldap' containment reference list.

##### Type:

- Array.<tibco.objectapi.de.ldap.XmlSecondaryLdapGroupSource>

#### secondaryLdap :Array.<tibco.objectapi.de.ldap.XmlSecondaryLdapContainerResource>

(Optional) Definition of a secondary LDAP source for this LDAP container. An LDAP container can have any number of secondary LDAP sources. A secondary LDAP source provides the ability to retrieve some LDAP data from an alternative LDAP server. Named LDAP attributes are used to map the secondary LDAP source to the primary LDAP source. This property holds the value of the 'Secondary Ldap' containment reference list.

##### Type:

- Array.<tibco.objectapi.de.ldap.XmlSecondaryLdapContainerResource>