Plumtree PEIs  
 

ICreateAccountActions.OnBeforeCreateAccount Method 

This function will perform some functionality after the manual creation of a user account. (Clicking on the Create Account button on the Login screen.)

string OnBeforeCreateAccount(
   AActivitySpace _asCurrentSpace,
   IPTSession _ptUserSession,
   string _strUserName,
   string _strPassword
);

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
_strUserName
- Potential user name for the user trying to be created.
_strPassword
- Potential password for the user trying to be created.

Return Value

String - Error message if the creation should not continue, empty string or null if it should.

See Also

ICreateAccountActions Interface | com.plumtree.portalpages.pei Namespace