gpt4 book ai didi

tfs - 如何从 tfs 中删除用户?

转载 作者:行者123 更新时间:2023-12-04 15:22:32 25 4
gpt4 key购买 nike

可以这么说,我有两个用户“卡在”我的 tfs 2012 实例中。我已将他们从我能想到的每个可能的组中删除,但他们仍然可以访问门户(尽管没有项目)。

运行 imx 命令发现 here产生以下信息:

Microsoft (R) TFSSecurity - Team Foundation Server Security Tool Copyright (c) Microsoft Corporation. All rights reserved.

The target Team Foundation Server is mytfsserverurl.
Resolving identity "NT\username"...

SID: S-1-5-21-1715567821-1897051121-682003330-9628

DN: CN=User Name,OU=Win7_Desktop_Restricted,DC=nt,DC=domain,DC=com

Identity type: Windows user
Logon name: NT\username
Display name: User Name
Description: blahjblah

Member of 2 group(s):

e [A] [TEAM FOUNDATION]\Team Foundation Valid Users
e [A] [CollectionName]\Project Collection Valid Users

Done.



但是,这些用户不属于任何其他组。当我在服务器上查看这些组的组成员身份时,它们也不在那里。两个用户都没有任何变更集、工作项或工作区。

它们出现在门户网站中,但仅在我搜索它们时才会出现。我无法通过导航找到它们,当我尝试单击“删除”时,我收到以下错误消息:

Unable to remove the selected identity from this group.hide details TF50618: The Team Foundation Valid Users group cannot be modified directly.



enter image description here

如何从这些组中删除这些用户?

最佳答案

执行定期清理作业,将人员从全局组中删除。如果您只是等待,它们将在几天内消失。但是,他们将无法访问任何 TFS Assets 。

现在,如果您有超过 6k 的用户同步到 TFS,您可能会发现同步作业失败并且他们永远不会消失。如果您查看 http://tfs.mydomain.com:8080/tfs/_oi您应该能够查看作业是否失败。

如果你等不及预定的工作,你可以开始:http://msmvps.com/blogs/vstsblog/archive/2011/02/17/force-tfs-to-sync-with-active-directory.aspx

关于tfs - 如何从 tfs 中删除用户?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23681810/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com