# Class: XmlContainer

## tibco.objectapi.de.base.XmlContainer

#### new XmlContainer()

Definition of an LDAP container and any LDAP source entries that it contains. Constructs a new XmlContainer.

The following features are supported:

- `Primary Ldap`
- `Primary Group Ldap`
- `Secondary Ldap`
- `Secondary Group Ldap`
- `Restricted Org`
- `Active`
- `Description`
- `Entity Count`
- `Id`
- `Last Accessed`
- `Name`

### Members

#### active :boolean

Read-only - Indicates if this container has been marked as deleted. Containers will only be deleted when all resources derived from it are deleted. This property holds the value of the 'Active' attribute.

##### Type:

- boolean

#### description :string

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

##### Type:

- string

#### entityCount :number

Read-only - only specified when this XmlContainer 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. Only given when updating an existing LDAP container. This property holds the value of the 'Id' attribute.

##### Type:

- string

#### lastAccessed :Date

Read-only - 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.base.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.base.XmlLdapGroupSource

#### primaryLdap :tibco.objectapi.de.base.XmlLdapQuerySource

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.base.XmlLdapQuerySource

#### restrictedOrg :Array.<tibco.objectapi.de.base.XmlRestrictedOrg>

(Optional) Identifies the organisations to which access is restricted to only those resources derived from the LDAP container in which this element resides. It also restricts the organizations to which resources derived from the LDAP container can be assigned. This property holds the value of the 'Restricted Org' containment reference list.

##### Type:

- Array.<tibco.objectapi.de.base.XmlRestrictedOrg>

#### secondaryGroupLdap :Array.<tibco.objectapi.de.base.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 directory. Named LDAP attributes are used to map the secondary LDAP entries to the primary LDAP entries. This property holds the value of the 'Secondary Group Ldap' containment reference list.

##### Type:

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

#### secondaryLdap :Array.<tibco.objectapi.de.base.XmlSecondaryLdapQuerySource>

(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 directory. Named LDAP attributes are used to map the secondary LDAP entries to the primary LDAP entries. This property holds the value of the 'Secondary Ldap' containment reference list.

##### Type:

- Array.<tibco.objectapi.de.base.XmlSecondaryLdapQuerySource>