Example Files
In this example we are creating ADS accounts through an account template. We would like to obtain the value of the homepage and office from the global user and pass it to the command line interface, but we do not want to send that information to the ADS server when the account is created.
This example requires the following files to be in the PS_HOME\bin directory:
precopy.bat “%CN%” “%eTADSExitOnlyHomePage%” ”%eTADSExitOnlyOffice%”
postcopy.bat “%givenName%” ”%eTADSExitOnlyHomePage%” ”%eTADSExitOnlyOffice%”
copy ADSExitUsrPreAdd.txt PreADSExit.txt echo object name is %1 >> PreADSExit.txt echo home page is %2 >> PreADSExit.txt echo office is %3 >> PreADSExit.txt
copy ADSExitUsrPostAdd.txt PostADSExit.txt echo first name is %1 >> PostADSExit.txt echo home page is %2 >> PostADSExit.txt echo office is %3 >> PostADSExit.txt
eTADSExitOnlyHomePage:2.2.5.12:T eTADSExitOnlyOffice:2.2.5.12:T
When the CA IdentityMinder Provisioning service and Provisioning Manager are restarted using the schema.ext file shown, the attributes listed in this file will appear on the Custom property sheet of the ADS account template. The rule string %UHP% must be placed in the value field of the eTADSExitOnlyHomePage attribute and the rule string %UO% must be placed in the value field of the eTADSExitOnlyOffice attribute. When this account template is used to create new ADS accounts, the homepage and office values of the associated global user are passed to the command line interface.
Copyright © 2013 CA.
All rights reserved.
|
|