It's all about the answers!

Ask a question

About the constructor of RAMSession


Chong Wang (1655) | asked Apr 26 '11, 6:46 a.m.
There are two constructors of RAMSession after RAM 7.2

Constructor Summary
RAMSession(java.lang.String ramLocation, java.lang.String userName, java.lang.String password)
Connect to a Rational Asset Manager Server

RAMSession(java.lang.String ramLocation, java.lang.String userName, java.lang.String password, java.lang.String onBehalfOfUserId)
Connect to a Rational Asset Manager Server A repository admin may set the onBehalfOfUser to any userid when set all API calls will be made as if they were made by the set User.

But I found little introduction about the onBehalfOfUserId contructor, why add this contructor and how to utilize it in enterprise applications?

One answer



permanent link
Gili Mendel (1.8k56) | answered Apr 26 '11, 9:24 a.m.
JAZZ DEVELOPER
The onBehalfOfUserId is a uid for some user.

When you create a session with onBehalfOfUserId, the session will be for that user id in terms of activity, usage, lic. etc.

you can only use the on behalf id, if you are using an administrator id. This enable you to connect to RAM using a uid, without the need to know the passwd for that id.

If you are using a front end application, you can use RAM api to connect to it, on behalf of that user.

Your answer


Register or 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.