Login (Component)
Methods in the Login object let you change a user's password and obtain information about customizations made to the login dialog box.
Methods marked below with [L] may be logged at the customer level (if transaction logging is licensed and enabled by the administrator)
Methods marked below with [C] may be customized at the customer level
Methods:
| doLogin [L] [C] | Logs a specified user into CommonSpot. |
| doLogout [L] [C] | Logs the current user out of CommonSpot. Returns an empty string or the URL to redirect the user to upon successful logout. |
| getLoginDialogSettings [C] | Returns a structure containing login dialog settings. This includes customization made using CommonSpot's event hook. |
| getPostLoginDestination [C] | Returns URL most recently set by setPostLoginDestination, or the current subsite root if no value is available. |
| isLoggedIn [C] | Returns true if the user is currently logged in, false otherwise. |
| setPostLoginDestination [L] [C] | Populates a session-level variable to be retrieved by a subsequent call to getPostLoginDestination. |
| updatePassword [L] [C] | Updates the password for the current user. |