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

SCM command to find userid of user who contributed this changeset. help

 we have an integration to a static analysis tool. it runs and reports potential issue with the code that the developer should correct. 

we need to update the database record for that user with the info we discovered, but the info in the changset is the user NAME, and the info in our database is the user ID.  (which in our case is the same as the email address)

is there a way to get scm/lscm to give us either the users email address or the users userid instead of their name?
we have the filename 

we are using the 
lscm history repo userid password -m 1 filename 
command

and getting 
Change sets:
  (1374) ---$ Sam Detweiler "Fixed form class to not refer to form rows twice." 01-Apr-2014 11:57 AM
There is additional history available before this point.

we need to get  'sam.detweiler@xx.com' instead of 'Sam Detweiler' 

0 votes


Accepted answer

Permanent link
Sam,
There isn't a way to list the userid and none of the commands can be configured to return the userid along with the name. There is a command to list the users with no userid's and set the user id's. The list users command could be extended to list existing userid's (workitem 301236).
sam detweiler selected this answer as the correct answer

0 votes

Comments

thanks.. thats what I suspected.. scm list users demands the --noUserids parm..
we've used that in our cross server stream transfers.  looks like another utility in the meantime

wish I had had time to work on my rtc ant tasks..

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
× 12,023
× 113

Question asked: Apr 02 '14, 5:52 p.m.

Question was seen: 4,410 times

Last updated: Feb 15 '15, 9:11 a.m.

Confirmation Cancel Confirm