It's all about the answers!

Ask a question

How do I send the currently logged in user to my OSLC provider?


Chris P (111912) | asked Dec 04 '13, 9:21 a.m.
We have an existing change management tool used for all changes in our company.  I've created an OSLC provider adapter to "wrap" this tool.  We are going to set RTC as a consumer of this provider, but I'm a little stuck while developing the "creator" delegated UI.  I'm looking to set the "dcterms:creator" attribute from RTC to my provider, but I'm not sure how to do this...

Is there a way to get capture the currently logged in user?

Comments
Chris P commented Jan 14 '14, 9:58 a.m.

 Can anyone provide any guidance here?


Chris P commented Sep 03 '14, 12:16 p.m.

It's been some time since I've checked on this, and I am being presented with a business need for this ability.  Does anyone have any insight? 

One answer



permanent link
Donald Nong (14.5k314) | answered Sep 03 '14, 8:39 p.m.
To get the current user, use the OSLC call
https://clm:9443/ccm/whoami
It should return a URI of the current user, and following the URI will give you the details of the current user.

Your answer


Register or to post your answer.