monster.util.isMasquerading()#

Syntax#

monster.util.isMasquerading();

Return#

This method returns a Boolean.

Description#

This method checks if the current session is using the account that was used to log in or if it's using one of the sub-accounts.

Examples#

if(monster.util.isMasquerading()) { 
    // do something specific for users who are using a sub-account.
};

Edit this page here