It's all about the answers!

Ask a question

Is it possible to find out if a user exists in RTC using OSLC


Sanjeev Kulkarni (331220) | asked Jun 10 '15, 9:14 a.m.
edited Jun 10 '15, 9:16 a.m.
Requirement:
We need to set subscribers in work items.
But not sure if user exists in RTC.

Steps:
1. Check if user exists in RTC
1.a Yes: Set as subscriber
1.b NO: Skip setting subscriber.

Note:
Don't want to get all users and then find from the list.
Want to check if specific user exists in direct go using OSLC.

Thanks in advance!
 

One answer



permanent link
Krzysztof Ka┼║mierczyk (7.2k34389) | answered Jun 10 '15, 12:24 p.m.
Hi Sanjeev,
OSLC does not provide such functionality. But you can use it in RTC by using following query:

https://your-server/ccm/service/com.ibm.team.repository.service.internal.IAdminRestService/contributors?searchTerm=%25test%25

This is an example to find user test.

Let us know if that helps.

Your answer


Register or to post your answer.