# Class: XmlLdapContainerMapping

## tibco.objectapi.de.ldap.XmlLdapContainerMapping

#### new XmlLdapContainerMapping()

Definition of a foreign key mapping between the primary LDAP source and a secondary LDAP source for an LDAP container. Each element names an attribute within each LDAP source that, for a given entry in each LDAP source, holds the same value and thus provides an association between the two entries. In order to uniquely identify an entry in each LDAP source many of these elements may be required, naming several attributes in each LDAP source. Constructs a new XmlLdapContainerMapping.

The following features are supported:

- `Primary Attribute`
- `Secondary Attribute`

### Members

#### primaryAttribute :string

The LDAP attribute in the primary LDAP source that is to be mapped to the LDAP attribute in the secondary LDAP source (name in the secondary-attribute). This property holds the value of the 'Primary Attribute' attribute.

##### Type:

- string

#### secondaryAttribute :string

The LDAP attribute in this secondary LDAP source that is to be mapped to from the LDAP attribute in the primary LDAP source (named in the primary-attribute) This property holds the value of the 'Secondary Attribute' attribute.

##### Type:

- string