Previous Topic: Program Exit Invocation RequestNext Topic: Invoke the Program Exits


Determine Exit Invocation Request

Typically, the directory DEmodify() function processes requests to change values in the directory object. To support the native program exits, you must enhance the directory DEmodify() function to also handle native exit invocation.

For a program exit invocation request, the Provisioning Server framework sends the eTExitInvoke attribute as part of the modify operation. The presence of the eTExitInvoke attribute is an indication that the request is an exit invocation request and not a normal modify request, as shown in the following example:

/*
|| The special attribute UTFEXITINVOKE indicates a request to invoke a 
|| program exit.
 */
if (pMods->find_mod(UTFEXITINVOKE)) {

// Invoke the exit.

}
else {

// Normal directory modify request.

}