how to get the list of roles assigned to a user from a teamArea
Hello,
Am trying to append roles to a user in a teamArea.
Say for eg:
Project Area : A
TeamArea : B
User X is available with 5 roles in Project Area A
User X is available with 1 role in Team Area.
I want to append an additional role to the user X in the teamArea B
Unfortunately when i get the list of available roles for the user x in the teamArea, am getting the roles that are available from the projectArea A.
Is there any way i get the list of roles for an user in a particular teamArea?
IContributor contributor = repo.contributorManager()
.fetchContributorByUserId(selectedUser, null);
IProcessItemService service = (IProcessItemService) repo
.getClientLibrary(IProcessItemService.class);
IClientProcess clientProcess = service.getClientProcess(Teamarea,
monitor);
IRole[] availableRoles = clientProcess.getContributorRoles(
contributor,Teamarea, null);
Thanks,
Raj
Am trying to append roles to a user in a teamArea.
Say for eg:
Project Area : A
TeamArea : B
User X is available with 5 roles in Project Area A
User X is available with 1 role in Team Area.
I want to append an additional role to the user X in the teamArea B
Unfortunately when i get the list of available roles for the user x in the teamArea, am getting the roles that are available from the projectArea A.
Is there any way i get the list of roles for an user in a particular teamArea?
IContributor contributor = repo.contributorManager()
.fetchContributorByUserId(selectedUser, null);
IProcessItemService service = (IProcessItemService) repo
.getClientLibrary(IProcessItemService.class);
IClientProcess clientProcess = service.getClientProcess(Teamarea,
monitor);
IRole[] availableRoles = clientProcess.getContributorRoles(
contributor,Teamarea, null);
Thanks,
Raj