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

About the constructor of RAMSession

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?

0 votes



One answer

Permanent link
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.

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: Apr 26 '11, 6:46 a.m.

Question was seen: 4,062 times

Last updated: Apr 26 '11, 6:46 a.m.

Confirmation Cancel Confirm