Connector Guides › Connector Xpress Guide › Creating Connectors › Managing Accounts and Groups › How You Create a Direct and Reverse Association
How You Create a Direct and Reverse Association
To create a direct association between two classes, for example, an account class, and a group class, you do the following:
- Start a new project and specify a data source for your project.
- Create and map an account class.
- Create a class that you want to define as a group and map it to the class on the endpoint that defines the entries for a group of names, for example, groupOfNames.
- Map the group's name and its member attribute.
- Specify that you want to create a direct association between the group class and the account class.
- Map the group's member attribute to the account's naming attribute.
Mapping the group's member attribute specifies that the group's membership attribute is populated by the account's naming attribute.
This describes the association between the group class and the account class and creates a direct association between the account class and group class.
- Specify that you want to create a reverse association between the account class and the group class.
- Map the account class memberof attribute to the group's naming attribute.
Note: If the native account class does not have a memberOf attribute, to create a virtual memberOf attribute and map it to the group's naming attribute.
Connector Xpress creates the direct and reverse associations between the account and group class you have mapped and automatically creates and displays the association under the User Accounts node.
More Information:
How to Define Group Membership
Reverse Associations
Copyright © 2013 CA.
All rights reserved.
|
|