how to Get Credentials(Username and password) of the user who triggered the build in RTC?
Hello,
With My Username and password(hard coded as text) I am able to fetch my user-name, mail-id and the team area to which I belong in RTC. But I want to use the credentials of the user who triggered the build instead of hard coding my login details? How can I use the API’s to accomplish this? Any help will be greatly appreciated. ThanksShruti |
Accepted answer
Ralph Schoon (63.5k●3●36●46)
| answered Jun 18 '14, 5:21 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
As far as I am aware, you can't. You might be able to access the user ID of the user that triggered the build (and the user record in RTC e.g. the e-mail), however you can't access the credentials.
For one thing these are not stored in RTC. They are stored on LDAP or Application server level. You can not access them through RTC, as it only passes them along. If you could this would be a serious security breach. shruti gudagur selected this answer as the correct answer
Comments
shruti gudagur
commented Jun 26 '14, 12:29 a.m.
Thanks Ralph.
You can let the ant build save all available properties in a file. I did that and found the property
|
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.