Skip to content

KAZOO Support Channels

This documentation is curated by 2600Hz as part of the KAZOO open source project. Join our community forums here for peer support. Only features in the docs.2600hz.com/supported space are included as part of our 2600Hz Support Services plan.

monster.util.isMasquerading()#

Syntax#

monster.util.isMasquerading();

Return value#

A Boolean indicating whether or not the account logged in is being masqueraded.

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.

Example#

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