This function will return the first subordinate for specified manager. Optionally, subordinate login can be specified, if so, function will check if this login is a subordinate of specified manager.



Function arguments

  • managerLogin – (String) Login of the manager for which subordinate is to be retrieved
  • userLogin – (String) [Optional] Login of the user to be found as subordinate of specified manager

Return value

This function returns String.
Returns the name of first subordinate of specified manager. If optional user login was specified, function will return that login if its’ user is a subordinate of specified manager or an empty string otherwise


Example 1:
This will get login of first subordinate of 'rsimmons’.

subordinate = GetSubordinate("rsimmons");

Example 2:
This will return 'johnd’ if he is a subordinate of 'rsimmons’ or an empty string if not.

subordinate = GetSubordinate("rsimmons","johnd");
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
How Can We Improve This Article?