# Class: XmlSecondaryLdapContainerResource

## tibco.objectapi.de.ldap.XmlSecondaryLdapContainerResource

#### new XmlSecondaryLdapContainerResource()

Extension of XmlLdapContainerResource, which identifies a secondary LDAP shared resource entry within an LDAP container. An LDAP container can hold a single primary LDAP source and any number of secondary LDAP sources. Secondary LDAP sources hold "foreign-key" references that map their entries to those of the primary LDAP source by named attribute values. Constructs a new XmlSecondaryLdapContainerResource.

The following features are supported:

- `Container Mapping`

### Extends

- tibco.objectapi.de.ldap.XmlLdapContainerResource

### Members

#### baseDn :string

Optionally provides an additional base DN that will be used to restrict the results. This base DN is relative, and in additon, to any base DN specified in the URL of the LDAP Connection shared resource identified by the ldap-alias. This property holds the value of the 'Base Dn' attribute.

##### Type:

- string

Inherited From:
  - tibco.objectapi.de.ldap.XmlLdapContainerResource#baseDn

#### containerMapping :Array.<tibco.objectapi.de.ldap.XmlLdapContainerMapping>

Definition of how this secondary LDAP source is mappped to the primary LDAP source. The mapping will allow an attribute's value in the primary LDAP source to map to an attribute's value in the secondary LDAP source. For example, suppose a resource has an entry of "UID=Clint Hill" in the primary LDAP source, and is uniquely identified in the secondary LDAP source as "CN=Clint Hill". The mappping would map the "UID" attribute in the primary LDAP source to the "CN" attribute in the secondary LDAP source. This property holds the value of the 'Container Mapping' containment reference list.

##### Type:

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

#### displayNameAttributes :string

(Optional) LDAP attributes that can be used to generate a default display name for any resource located within this LDAP source. This property holds the value of the 'Display Name Attributes' attribute.

##### Type:

- string

Inherited From:
  - tibco.objectapi.de.ldap.XmlLdapSource#displayNameAttributes

#### guid :string

Unique GUID of the LDAP source. This property holds the value of the 'Guid' attribute.

##### Type:

- string

Inherited From:
  - tibco.objectapi.de.ldap.XmlLdapSource#guid

#### id :string

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

##### Type:

- string

Inherited From:
  - tibco.objectapi.de.ldap.XmlLdapSource#id

#### ldapAlias :string

Alias of the LDAP directory that is referenced by this LDAP source. The alias is a previously configured shared resource that identifies this LDAP source. This property holds the value of the 'Ldap Alias' attribute.

##### Type:

- string

Inherited From:
  - tibco.objectapi.de.ldap.XmlLdapSource#ldapAlias

#### ldapSearchString :string

(Optional) LDAP query expression that can be used to restrict the data that is returned from this LDAP source. This property holds the value of the 'Ldap Search String' attribute.

##### Type:

- string

Inherited From:
  - tibco.objectapi.de.ldap.XmlLdapContainerResource#ldapSearchString