In TFS2010, you can check on behalf of another user (provided that he has permission to do this):
> tf.exe checkin (...) /author:OtherUser
The check history shows OtherUser as the user who completed the check:
> tf history (...) /noprompt Changeset User Date Comment --------- ----------------- ---------- ----------- 1234 OtherUser (...)
I found a blog post that said: "Both your username and the other user are written to the changeset data so you can always determine who checked for the changes." I assume it is written to Changeset .Commiter vs ChangeSet.Owner, but tf history or tf changeset does not display this.
Is there any interface / tool that displays this information?
[edit] Note: It seems that Commiter can mean two different things:
- A user who logged in as OtherUser using
tf checkin /author . - The user who runs the gated checkin (machine account or build user).
In case you did a tf checkin /author in a gated check, then a value of 1 wins.
source share