UserIsExternal

This function checks if user with specified login is an external user.

Syntax

UserIsExternal("userLogin");

Function arguments

  • userLogin – (String) Login of the user to be checked if is external

Return value

This function returns Boolean. Returns true if specified user is external, false otherwise

Examples

Example 1: This will check if user with login 'rsimmons’ is external and put result into 'isExternal’ variable

isExternal = UserIsExternal("rsimmons");

Example 2: This will check if current user is external.

UserIsExternal(CurrentUser());