(C) Copyright International Business Machines Corporation 2003. All rights reserved.
U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
ICMLogonExit(pszLanguage,pszUserID,pszPassword,pszNewPassword,pszApplication,psUserDomain,
pszLDAPInfo,pszDatabaseName,pszSchemaName,plRC,plReason,plExtRC,plExtReason)
This exit is called at logon time and it provides an interface to validate a userID, password, do user counting, and LDAP authentication. The external name for this user exit is ICMXLSLG.DLL. Place the DLL in the directory: ICMROOT/database name/DLL to use this user exit.
A code sample is provided in the ICM root directory in: /samples/icmxlslg.c. For EIP Version 8.2, the code sample is in the EIP root directory in: /samples/icmxlslg.c.
char *pszLanguage: Language code
char *pszUserID: UserID
char *pszPassword: Decrypted password
char *pszNewPassword: New decrypted password (if new password was provided)
char *pszApplication: The name of the application
short *psUserDomain: User domain
char *pszLDAPInfo: The path in the LDAP server for this userID
char *pszDatabaseName: The database name of the library server
char *pszSchemaName: The database schema name of the library server
long *plRC : Return code
long *plReason - reason code
long *plExtRC - Use this to return any extra application-specific error information
long *plExtReason - Use this to return any extra application-specific error information
Set reason code (plReason ) according to the following rules:
*plReason = 0 ICMLogon will do password validation
*plReason = 1 ICMLogon will bypass password validation.
The following list contains the return codes (*plRC) expected when logging on to Content Manager:
long myExit(plExitNumber,pszComponentID)
You can use this user exit to create a user exit for Content Manager Version 8.2 document routing. This user exit is called after creating a work package (using the start process), when a work package is moved off a work node, to move to a work node, or when the overload limit is reached. At the time the exit is called, the work package exists in the work package table, and can be retrieved using the componentID as the identifier of the row in table ICMUT00204001.
Do not modify data using this exit.
long * plExitNumber: 1=Enter, 2=Leave, 3=Overload
char * pszComponentID: Work package identifier. Changes to parameters and return codes will be ignored by the Content Manager system.