Authenticated

Gets a value indicating whether the current user is authenticated.

Parameters

None

Return value
  • true. Indicates that the user is authenticated.
  • false. Indicates that the current user is not authenticated.
Examples
Copy
if (CRM.Authenticated)
    {
        // This could be any function.    getmembermenu();
    }
else
    {
        Response.Redirect("index.asp");
    }

Allows an authenticated user to access a member menu. Takes unauthenticated users back to an index page.