Plumtree PEIs  
 

IPasswordActions.OnBeforeChangePassword Method 

This interface will allow for the implementation of functions that will occur when a user tries to change their password.

Warning: Values in _htFormData are String Arrays (String[]).
e.g.:
String[] arrVals = (String[]) _htFormData.GetElement(sKey);
String sVal = arrVals[0];

string OnBeforeChangePassword(
   AActivitySpace _asCurrentSpace,
   IPTSession _ptUserSession,
   XPHashtable _htFormData
);

Parameters

_asCurrentSpace
- Provides access to the current MVC classes as well as the Application and the HTTP Session
_ptUserSession
- Plumtree session object for the current user
_htFormData
- This parameter refers to the form data that has been entered by the user during the changing of a password.

Return Value

String - This will be a string containing a error message if the data was incorrect or if the process should not continue otherwise it will be null or "".

See Also

IPasswordActions Interface | com.plumtree.portalpages.pei Namespace