Sun Identity Manager 8.1 Resources Reference

Example 1: Action that Follows Creation of a User

This procedure shows how to include an action that will run after the creation of a new user on the Active Directory resource.

ProcedureIncluding an Action that Follows the Creation of a User

  1. Enter create after action in the Identity Manager User Attribute column of the resource’s schema map.

  2. In the Attribute Type column, select string.

  3. In the Resource User Attribute column, enter IGNORE_ATTR. Leave the Required, Audit, Read Only, and Write Only columns unchecked.

  4. Add the following code to the user form you are using to create or edit users:

    <Field name=’resourceAccounts.currentResourceAccounts[AD].attributes.
    create after action’>
  5. Create the following XML file and import it into Identity Manager. (Change the file paths according to your environment.)

    <?xml version=’1.0’ encoding=’UTF-8’?>
     <!DOCTYPE Waveset PUBLIC ’waveset.dtd’ ’waveset.dtd’>
        <ResourceAction name=’AfterCreate’>
           <ResTypeAction restype=’Windows Active Directory’ timeout=’6000’>
              echo create >> C:\Temp\%WSUSER_accountId%.txt