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

How can I get the list of email addresses of RTC users using OSLC?

How can I get the list of email addresses of RTC users using OSLC?

1 vote



3 answers

Permanent link
https://localhost:403/ccm/oslc/users?oslc.properties=rtc_cm:emailAddress
or
https://localhost:403/ccm/oslc/users?oslc.select=rtc_cm:emailAddress

will return the user node with their email id

3 votes

Comments

Hi Dinesh,

With this query, I am not getting the email addresses, I am getting only the user IDs of the RTC users.


Permanent link
here is a sample output that i receive for https://localhost:9443/ccm/oslc/users?oslc.select=rtc_cm:emailAddress , for your reference:

<oslc_cm:Collection oslc_cm:totalCount="45">
   
    <rtc_cm:User rdf:resource="https://localhost:9443/jts/users/rm_user">
    <rtc_cm:emailAddress>mailto:unknown</rtc_cm:emailAddress>
    </rtc_cm:User>
   
    <rtc_cm:User rdf:resource="https://localhost:9443/jts/users/custadmin">
    <rtc_cm:emailAddress>mailto:bdineshkumar%40in.ibm.com</rtc_cm:emailAddress>
    </rtc_cm:User>
   
    <rtc_cm:User rdf:resource="https://clm40.in.ibm.com:9443/jts/users/bob">
    <rtc_cm:emailAddress>mailto:bob%40jkebanking.net</rtc_cm:emailAddress>
    </rtc_cm:User>
   
    <rtc_cm:User rdf:resource="https://clm40.in.ibm.com:9443/jts/users/al">
    <rtc_cm:emailAddress>mailto:al%40jkebanking.net</rtc_cm:emailAddress>
    </rtc_cm:User>
   
    <rtc_cm:User rdf:resource="https://clm40.in.ibm.com:9443/jts/users/curtis">
    <rtc_cm:emailAddress>mailto:curtis%40jkebanking.net</rtc_cm:emailAddress>
    </rtc_cm:User>
   
</oslc_cm:Collection>

If the email address is not configured for the user, it shows up as unknown against mailto as seen for the functional rm_user above.

0 votes

Comments

I tried the query and it works. However only 50 users are listed (from the URL I saw "..oslc_cm.pageSize=50.."). How can I get a full list, or change the page size on the URL? 


Permanent link
hi Kevin,

I believe you have noticed the right parameter and you can append that to the query using an & (ampersand) and the parameter with a desired page size as its value, here is a sample:
https://localhost:403/ccm/oslc/users?oslc.select=rtc_cm:emailAddress&oslc_cm.pageSize=1000

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: Jul 26 '13, 3:12 a.m.

Question was seen: 5,920 times

Last updated: Sep 30 '13, 11:02 a.m.

Confirmation Cancel Confirm