GetManagers
This function returns specified user’s managers hierarchy as list of logins divided with semicolon.
GetManagers("userLogin");Function arguments
Dział zatytułowany „Function arguments”- userLogin – (String) The login of the user for which managers are to be found.
Return value
Dział zatytułowany „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
Dział zatytułowany „Examples”Example 1: This will find managers logins for currently logged in user and store return value in ’list’ variable.
list = GetManagers(CurrentUser());