How do I import from a text file the values for the 'Valid property values and ranges' field? (NETIQKB42396)

  • 7742396
  • 02-Feb-2007
  • 10-Apr-2012


Is there a way to import the values for the 'Valid property values and ranges' field from a text file when creating a Policy to validate a Specific property?  

Directory and Resource Administrator 6.x

Directory and Resource Administrator 7.x

Directory and Resource Administrator 8.0


In the current version of Directory and Resource Administrator (DRA), the valid values of the Validation Policy have to be entered manually one at a time.  There is no means to automate this process.  An enhancement request is open to be able to import the acceptable values from a text file for consideration in a future release of DRA.

A potential workaround solution is to use a trigger script to validate the property instead of the policy.  There is an example in the Software Development Kit that could be utilized as an example.  The HRDemoPolicy.vbs found at C:\Program Files\NetIQ\DRA\SDK\Samples\HRDemo after you install the SDK is an example of how to do this.  The script checks the database to make certain that the employee id field that the user enters during UserCreate/UserCopy operation is in the HRDatabase.   The same methodology could be utilized to validate the a large number of acceptable values for a specific field.  The trigger could either hardcode the acceptable values in the trigger or use the an external datasource to validate the value like the HRDemoPolicy.vbs does.

Additional Information

Formerly known as NETIQKB42396