An attribute stores information about an entry, such as a telephone number or address. An entry's attributes determine its profile.
In the directory configuration file, attributes are described in ImsManagedObjectAttr elements. In the User Object section of the directory configuration file, you can do the following:
There is one ImsManagedObjectAttr element for each attribute in a user profile. For example, an ImsManagedObjectAttr element may describe a user ID.
An ImsManagedObjectAttr element resembles the following:
<ImsManagedObjectAttr physicalname="uid" displayname="User ID" description="User ID" valuetype="String" required="true" multivalued="false" wellknown="%USER_ID%" maxlength="0" />
The ImsManagedObjectAttr has the following parameters:
This parameter must contain one of the following items:
Note: To improve performance, index LDAP attributes that are used in search queries in the Identity Manager User Console.
Contains the description of the attribute
Specifies a unique name for the attribute.
Note: This parameter is required.
Specifies the attribute's data type. The valid values are as follows:
Indicates whether the attribute is required, as follows:
Note: If an attribute is required by the LDAP directory server, set the required parameter to true.
Indicates whether the attribute can have multiple values. For example, the group membership attribute is multi-valued to store the user DN of each group member. The valid values are as follows:
Important! The Group Membership and Admin Roles attributes in the User object definition must be multivalued.
Defines the name of the well-known attribute.
Well-known attributes have a specific meaning to the Administrative UI. They are identified by the following syntax:
%ATTRIBUTENAME%
Defines the maximum length that an attribute's value can have. Set the maxlength parameter to 0 to specify an unlimited length.
Note: This parameter is required.
Indicates the LDAP auxiliary class for a user attribute when the attribute is not part of the primary objectclass specified in the ImsManagedObject element.
For example, suppose the primary object class for users is top, person, organizationalperson, which defines the following user attributes:
To include the attribute employeeID, which is defined in the Employee auxiliary class, you would add the following attribute description:
<ImsManagedObjectAttr physicalname="employeeID" displayname="Employee ID" description="Employee ID" valuetype="String" required="true" multivalued="false" maxlength="0" objectclass="Employee"/>
| Copyright © 2009 CA. All rights reserved. | Email CA about this topic |