Getting UserID for user requesting a build
Is there a similar property for the userid specified with the Build Agent Authentication Overrides option? This is the tso userid of the requester when running an Enterprise Extensions build, when you have the RBA server set up to require userid authentication. It too would be helpful in other parts of the build.
One answer
I took a look at this and the credential overrides are explicitly removed from the build properties (to fix bug 163421), so I'm afraid right now it's not possible to get the value during the build. You might consider opening an enhancement request on the 'Build' component to make it available somehow. The only workaround I can think of is to have your own build property containing the TSO user, but that would require each submitter fills in both places (very easy to forget this extra property).
Comments
Daniel Reilly
Nov 24 '14, 6:09 p.m.Ralph Schoon answered the question, but I don't see the post, so I'll copy it here.
This has been fixed since the question was asked. See https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=65619
But, that is not the userid I am looking for, that is the RTC userid, not the TSO userid entered in the Build Agent Overrides panel. We can see the userid being set in RBA:
AUTH set user account to "mra"
so the value is there somewhere. buildRequestoUserid comes back with xxx@us.ibm.com instead