我负责合并更改并将更改提交到测试分支,但通过这样做,每次 checkin 都将标记为我作为作者。所以直到现在我都在评论中写下作者姓名。但它很丑。
签到时是否可以冒充他人?为此需要哪些安全权限?
我使用的是 Team Foundation Server 2010。
最佳答案
TFS API Part 29 – TFS Impersonation
TFS Impersonation is a feature that was introduced in TFS 2010 in order to allow a process running as User A to make web service calls to TFS in such a way that TFS thinks the actions are being performed by User B.
Using TFS Impersonation with the Version Control Client APIs
how to use the version control client APIs to create workspaces and check in files [...] with TFS Impersonation to record the check ins as if they had been done by a different user
in order for impersonation to work, the user that the process is running as must have the “Make requests on behalf of others” permission for this collection
关于branch - TFS - 是否可以冒充某人来 checkin 更改?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4898836/