iRole and itemType
I am trying to retrieve the itemType of a RTC role but I not able to determine how to find it. Here are the attributes I able to find. How can I get the itemType of the IRole using the java api?
IRole[] projectAreaProcessRoleCollection = clientProcess.getRoles(projArea, null);
for (IRole iRole : projectAreaProcessRoleCollection)
{
IRole2 role2 = (IRole2) iRole;
String id = role2.getId();
String name = role2.getRoleName();
String label = role2.getRoleLabel();
String desc = role2.getDescription();
}
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Sep 23 '14, 10:28 a.m.For what purpose would you want to get the IItemType? What do you want to do?
Andrew Salmela
Sep 23 '14, 11:16 a.m.We are creating a solution to programmaticly administer RTC to create projects, manage user, manage roles, etc. to reduce administration needs and streamline with our company processes and policies. According to a post by Nick it is best to store both the UUID and itemType.