Login Viper Module
Viper Methods
Global Viper Method | Description |
---|---|
Login.Alert Viper Method | Shows a dialog to inform the user that log on has failed and reloads the current page to retry logging in.Depends on the 'javascript'- and 'javascriptonload' placeholders.Note: optionally, the 'noscript' placeholder is used to output the error string for scriptless environments. |
Login.Challenge.Current Viper Method | Gets the current password challenge. |
Login.Challenge.Previous Viper Method | Gets the previous password challenge. |
Login.Return Viper Method | Used to make the page redirect to the Url that the user |
Login.ReturnUrl Viper Method | Encapsulates all logic to determine the Url to return to when login.return() (the default resultformat) is called.Rules:- cookie returnUrl, or querystring variable returnurl, returnUrl, or ReturnUrl are tested. - if returnUrl is outside site hostheaders, it is ignored, and returnUrl is set to current channel root. - if no returnUrl is set, returnUrl is set to the current page. |
Login.TryLogin Viper Method | Tries to perform a forms-based login.If logon fails, a SecurityException error is thrown. |
Login.Undo Viper Method | Logs the current user out and refreshes the current page. |
See Also
-
Login.Alert Viper Method
Shows a dialog to inform the user that log on has failed and reloads the current page to retry logging in.Depends on the 'javascript'- and 'javascriptonload' placeholders.Note: optionally, the 'noscript' placeholder is used to output the error string for scriptless environments. -
Login.Challenge.Current Viper Method
Gets the current password challenge. -
Login.Challenge.Previous Viper Method
Gets the previous password challenge. -
Login.Return Viper Method
Used to make the page redirect to the Url that the user -
Login.ReturnUrl Viper Method
Encapsulates all logic to determine the Url to return to when login.return() (the default resultformat) is called.Rules:- cookie returnUrl, or querystring variable returnurl, returnUrl, or ReturnUrl are tested. - if returnUrl is outside site hostheaders, it is ignored, and returnUrl is set to current channel root. - if no returnUrl is set, returnUrl is set to the current page. -
Login.TryLogin Viper Method
Tries to perform a forms-based login.If logon fails, a SecurityException error is thrown. -
Login.Undo Viper Method
Logs the current user out and refreshes the current page.
- Macro
- Macro Parameters
- Macro Parameter Properties
-
Vipers
-
Global Viper Methods
- AIM Viper Class
- Audit Viper Class
- Buffer Viper Class
- Cache Viper Class
- CacheFile Viper Class
- Calendar Viper Class
- Channel Viper Class
- Char Viper Class
- Cms Viper Class
- ContentType Viper Class
- Convert Viper Class
- Database Viper Class
- DataTable Viper Class
- DateTime Viper Class
- Debug Viper Class
- DigiD Viper Class
- Env Viper Class
- FileSystem Viper Class
- FlexLayout Viper Class
- Html Viper Class
- Html.Color Viper Class
- Html.Css Viper Class
- Image Viper Class
- ImageProperties Viper Class
- ItemComments Viper Class
- ItemData Viper Class
- License Viper Class
- Locale Viper Class
- Logging Viper Class
- Math Viper Class
- Payment Viper Class
- Personalization Viper Class
- PlaceHolder Viper Class
- Poll Viper Class
- Publication Viper Class
- RenderTemplate Viper Class
- Request Viper Class
- Response Viper Class
- Scf Viper Class
- Security Viper Class
- Session Viper Class
- Site Viper Class
- Smartlet Viper Class
- SmartletEditor Viper Class
- SmartletPreset Viper Class
- Smi Viper Class
- SmiData Viper Class
- Spice Viper Class
- Sql Viper Class
- StandardsCompliance Viper Class
- Storage Viper Class
- String Viper Class
- SXML Viper Class
- Sys Viper Class
- Tags Viper Class
- Translation Viper Class
- Url Viper Class
- User Viper Class
- UserItemFeedback Viper Class
- Xml Viper Class
- Local Viper Methods
-
Global Viper Methods
- SXML Data Types
- Examples
- Tips & Tricks