All Categories Class Hierarchy This Category Previous Indexes
CATVpmPEUsrMethod
public class CATVpmPEUsrMethod
People & Organization user-exit class.
Role: this class contains the various user-exits available for the
People & Organization component.
In order to execute custom code, one should modify the sample source file
CATVpmPEUsrManager.cpp, and run the shell makeVX0PEUSR.sh to re-build the
library VX0PEUSR.
Role: This method is called at the end of interactive applications (e.
| public static int ChangePassword( | const char* | iUserID, |
| const char* | iCurrentPasswd, | |
| const char* | iNewPasswd) |
Role: This method is called when a user modifies his password via the P&O administration panel. Is thus possible invalidate the password modification, or to execute specific actions during that operation.
| public static int ChangePasswordEnabled( | ) |
Role: This method is called to detemine whether user password can be modified via the P&O administration panel. Returns the following values: 0 if password modification is NOT permitted. 1 if password modification is permitted, but original password is NOT required. 2 if password modification is permitted, AND original password IS required.
| public static int CheckLoggedUser( | const char* | iPersonId, |
| char*& | oMessage) |
Role: Use this method to control the user logged. This method is called at login time, once the end-user has provided a user/password validated by VPM database. If the method returns 0, the application will validate the session and the login process will continue normally. If the method returns 1, the application will invalidate the session, and the login process exit on error. If the method returns 2, a warning is shown to the user, once validated the application will validate the session, and the login process will continue normally.
| public static void EndVpmSession( | ) |
Role: This method is called at the end of interactive applications (e.g. applications using the login panel).
| public static int LoginVpmSession( | const char* | iUserID, |
| const char* | iOrgID, | |
| const char* | iRoleName, | |
| const char* | iRoleOrgID) |
Role: Use this method to control, (in)validate the session that is being opened during the login process. This method is called at login time, once the end-user has provided a user/password and a role, right after VPM session is actually opened. If the method returns a value other than 0, the application will invalidate the session, and the login process exit on error.
| public static int ValidatePassword( | const char* | iPassword) |
Role: This method is called in various operations to validate the modification of a password.
| public static int ValidateUserId( | const char* | iUserID) |
Role: This method is called in various operations to validate the user being accessed. The supported operations are:
password modification, batch login file creation.
Copyright © 2003, Dassault Systèmes. All rights reserved.