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? |
One answer
The
When you create a session with 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
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.