【发布时间】:2016-11-29 03:21:36
【问题描述】:
使用 TFS 2013 的团队项目集合从多个项目的贡献者列表中删除用户时出现错误
tfssecurity /g- groupIdentity memberIdentity [/collection:CollectionURL] [/server:ServerURL]
错误:找到与“贡献者”匹配的多个身份。请指定以下身份
我想一次从所有收藏项目中删除用户。
谁能给我建议
提前致谢
【问题讨论】:
使用 TFS 2013 的团队项目集合从多个项目的贡献者列表中删除用户时出现错误
tfssecurity /g- groupIdentity memberIdentity [/collection:CollectionURL] [/server:ServerURL]
错误:找到与“贡献者”匹配的多个身份。请指定以下身份
我想一次从所有收藏项目中删除用户。
谁能给我建议
提前致谢
【问题讨论】:
您不能删除所有项目中的用户使用单个查询。
示例:如果您获得用户喜欢的组列表,则为 4 个组的成员:
您需要使用以下命令指定详细项目,例如 Team Project3:
[tfssecurity /g- /collection:http://[servername]:8080/tfs/[CollectionName] [Team Project3]\Contributors n:[user ID]]
更多详细信息可以参考this blog。
【讨论】:
添加项目名称,这应该可以解决问题:
tfssecurity /g- “[Team Project Name]\Contributors” n:Datum1\jpeoples /server:http://ADatumCorporation:8080
【讨论】: