Logs the current user out without redirecting them.
Syntax
Security.logout()
Arguments
No arguments.
Return value
No return value.
Example
Log the current user out and redirect to another page.
Security.logout();
//********** Redirect to another page ************
MVCFunctions.HeaderRedirect("/localhost:" );
See also:
•Events: Redirect to another page