IsLoggedIn

Checks if the current user is logged in.

Type and Usage

Output

  • Returns TRUE if the user has logged in.

  • Returns FALSE if the user has not logged in.

Example

Checks whether the user is logged in and has an e-mail address before performing a function.

<@dynamichtml subscription_action_script@>
function allowSubscription(form)
    {<$if IsLoggedIn$>
    <$if IsUserEmailPresent$>
    <$else$>
…}
<@end@>