It's all about the answers!

Ask a question

Method to check the valid user for the project area

Saran R (1337) | asked Mar 17 '16, 9:56 a.m.


Hello all,

We have developed one tool which uses RTC plugins.

Is there any API method i can check whether the user has valid authentication to login into the RTC server by server name, username, password and project area.

Currently i have to retrieve all users from the project area by passing server name and project area then loop through each user and checking whether the user is valid to login into the project area. It's taking more time to login into the my tool.


Accepted answer

permanent link
sam detweiler (12.5k6195201) | answered Mar 17 '16, 10:19 a.m.
edited Mar 17 '16, 10:21 a.m.
You could use IProcessArea.hasMember instead of looping yourself.
boolean hasMember(IContributorHandle contributorHandle)
a team area (ITeamArea) is a ProcessArea (IProcessArea) so that method will work there too. 

Saran R selected this answer as the correct answer

Your answer

Register or to post your answer.