GetManagers
This function returns specified user’s managers hierarchy as list of logins divided with semicolon.
Syntax
GetManagers("userLogin");
Function arguments
- userLogin – (String) The login of the user for which managers are to be found.
Return value
This function returns String.
This function returns managers logins for specified user or current user’s login (same as CurrentUser() function) if there is no manager assigned to specified user.
Examples
Example 1:
This will find managers logins for currently logged in user and store return value in 'list’ variable.
list = GetManagers(CurrentUser());