Przejdź do głównej zawartości

GetManagers

This function returns specified user’s managers hierarchy as list of logins divided with semicolon.

GetManagers("userLogin");
  • userLogin – (String) The login of the user for which managers are to be found.

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.

Example 1: This will find managers logins for currently logged in user and store return value in ’list’ variable.

list = GetManagers(CurrentUser());