How to change the mandatory attribute to normal attribute

Document ID : KB000117445
Last Modified Date : 23/10/2018
Show Technical Document Details
Introduction:
There are attributes that require input when creating a user.
By following the procedure below, you can change the required attribute to an optional attribute.
  1. Modify attribute setting of Userstore
  2. Modify setting of tasks related to user creation
  3. Change the setting of the storage destination column of the corresponding data in the user store (DB)
Environment:
CA Identity Manager 12.6, 14.x
Instructions:
1. Modify attribute setting of Userstore
  • Login to the Management console
  • Select Directories > UserStore, then click [Export]
  • Change "Required" setting of the attribute to be changed from mandatory in exported XML file to "False", then save the file overwritten
For example, mandatory attribute “First name”:
<ImsManagedObjectAttr physicalname="TBLUSERS.FIRSTNAME" description="First Name" displayname="First Name" valuetype="String" required="true" wellknown="%FIRST_NAME%" maxlength="50"/>
※required="true" -> "False"
  • Update with the modified xml file then restart environment

2. Modify setting of tasks related to user creation
  • Login to the User Console
  • Select Tasks > Roles and Tasks > Admin Tasks > Modify Admin Task
 CA Identity Manager Modify Admin Task
  • Search Admin Task (e.g. create user), then choose it and click select
 CA Identity Manager Create User Task
  • Click “Tabs”, then click pencil icon which is next to Profile
 CA Identity Manager Tabs
CA Identity Manager Profile
  • Click [Browse] which is next to “Create User Profile”, then click [Edit]
 CA Identity Manager Brows
CA Identity Manager Screen definition
  • Click the pencil icon which is next to “First Name”
CA Identity Manager Profile screen 
  • Click drop down list which is next to Permission, then choose “Read/Write”
 CA Identity Manager Permission
  • Click [OK] at the bottom of the screen
 CA Identity Manager OK button
  • Click, [Select], [OK] and [Submit], then confirm task is completed.

3. Change the setting of the storage destination column of the corresponding data in the user store (DB)
 
  • it is possible that mandatory attribute is blank when you create a user.
  • If necessary, please change the setting of the stored column to accept NULL.