Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Getting role assignments for members of a RAM community

I need to find the role assignments for all members of a RAM community. I would prefer to use the Java API but I can't find a suitable method there. The web service appears to return this method via getRoles, however I never find any role assignments this way. What API should I be using?


RAMClient client = new RAMClient(...);
RAM1 ramWS = client.getRAM1Webservice();
RoleSO[] allRamRoles = ramWS.getRoles(communityId);
for(RoleSO ramRole : allRamRoles) {
String[] assignedUsers = ramRole.getUserIDs(); //always String[0]
}


Thanks,
Andrew

0 votes



One answer

Permanent link
Hi,

There is no API to return such information. The Webservices aren't API.
They change all of the time.

Webservices getRoles() doesn't return the users. It only returns the
list of roles.


Rich

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jun 14 '10, 4:44 p.m.

Question was seen: 6,275 times

Last updated: Jun 14 '10, 4:44 p.m.

Confirmation Cancel Confirm