RAM API to retrieve the users assigned to a particular User role?
Hello team, We are looking for an API that will retrieve all the users who are assigned to a User role in a community. We tried the getUserIDs() RAM API but it gives null pointer exception error. We are using RAM 7.5.0.2. Please advise? Snippet code ------------------
try
System.out.println("Role Name: " + rolesArray[i].getName() + " Number of Users: " + rolesArray[i].getUserIDs().length);
Thanks in advance, Regards, Sripriya
|
One answer
Please do not use the new RAMClient directly. That is an entirely internal class and is not supported as API. Any methods on it at any release of RAM may become non-functional or even removed. That particular method isn't even used anymore so it has not been kept up to date.
That information isn't sent through any of the web/webservices/rest calls. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.