To Retrieve the List Reporting persons Usernames by giving Supervisor's value as input

Certified Senior Developer

Hi,

I want to get the List of Reporting persons Usernames by giving Supervisor Username as rule input. Based on below screenshot the code is working fine but the function usersearch() is 3rd party plugins so need to replace that with Appian cloud function.

Kindly suggest the which need to replace usersearch() function for fetching the same data like below

  Discussion posts and replies are publicly visible