Skip to main content

Entity Association

An entity association is used to model an association in Identity Manager's metadata. See the Connector topic for additional information on a whole connector with its entity properties and associations.

Examples

The following example associates one title (as a property from the entity type Directory_UserRecord) with several user records (as a property from the entity type Directory_Title).


<EntityAssociation Identifier="Directory_UserRecord_Title_User_Records" IsProperty2Collection="true"
Property1="Directory_UserRecord:Title" Property2="Directory_Title:UserRecords" />

Many-to-many association

The following example associates SAB users with groups, with the possibility to link one group to several users, and one user to several groups.


<EntityAssociation Identifier="SAB_Group_User" DisplayName_L1="User" IsProperty1Collection="true" IsProperty2Collection="true" Property1="SAB_Group:User" Property2="SAB_User:Group" />

Properties

PropertyDetails
DisplayName_L1 optionalType String Description Display name of the association in language 1 (up to 16).
Identifier requiredType String Description Unique identifier of the association. It must be unique to the entity model scope.
IsProperty1Collection default value: falseType Boolean Description true to define a many-to-one association.
IsProperty2Collection default value: falseType Boolean Description true to define a one-to-many association.
Property1 requiredType Int64 Description Defines the first navigation property. A navigation property can be mono-valued or multi-valued (with its corresponding IsPropertyCollection set to true). Mono-valued navigation properties may be optimized (with a TargetColumnIndex) or not (without TargetColumnIndex). See more details under the TargetColumnIndex section of the Entity Type properties page.
Property2 requiredType Int64 Description Defines the second navigation property.