Hi,
I have created workflow and while assigning user i wanted to list users of particular site.
Kindly help
Hi All,
I have created a custom picker and under findUsers method i'm passing siteid to get site object like this
var site = siteService.getSite(searchSiteTerm);
and getting members of site using
var members = site.listMembers(null, null, 0, true);
But im not getting users list of other sites which im not registered with. im getting error as "Cannot call method "listMembers" of null"
im getting all users of particular site only if im registered with that site.
Can anyone help me getting users of particular site in pickeritems.js without being registered with other site???
I have made that webscript to runas admin, to get all users of particular site in workflow person picker.