/imx 命令
使用 /imx 以顯示有關撰寫指定群組之擴充成員資格的識別的資訊。
必要的使用權限
若要使用 /imx 命令,您必須分別將 [檢視集合層級資訊] 或 [檢視執行個體層級資訊] 權限設為 [允許],視您使用的是 /collection 或 /server 參數而定。 如需詳細資訊,請參閱Team Foundation Server 使用權限。
TFSSecurity /imx Identity [/collection:CollectionURL] [/server:ServerURL]
參數
引數 |
描述 |
---|---|
Identity |
使用者或群組的識別。 如需識別規範的詳細資訊,請參閱 TFSSecurity 識別和輸出規範。 |
/collection:CollectionURL |
如果不使用 /server 則為必要項。 依下列格式指定 Team 專案集合的 URL:http://ServerName:Port/VirtualDirectoryName/CollectionName |
/server:ServerURL |
如果不使用 /collection,則為必要項。 依下列格式指定應用程式層伺服器的 URL:http://ServerName:Port/VirtualDirectoryName |
備註
在 Team Foundation 的應用程式層伺服器上執行此命令。
TFSSecurity 的 /imx 命令只會顯示所指定群組的擴充成員。 這個清單不只包括屬於指定之群組的其他群組,也會列出成員群組的成員。
範例
下列範例會顯示虛擬公司 "A. Datum Corporation" 在網域中之 "Team Foundation Administrators" 群組的擴充成員資格識別資訊 。
注意事項 |
---|
本文件中所述,用來舉例之公司、組織、產品、網域名稱、電子郵件位址、標誌、人物、場所和事件皆為虛構。沒有意圖或不應該推斷為與任何真實存在的公司、組織、產品、網域名稱、電子郵件位址、標誌、人物、場所或事件有所關聯。 |
>tfssecurity /imx "Team Foundation Administrators" /server:ServerURL
範例輸出:
Resolving identity "Team Foundation Administrators"...
SID: S-1-9-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-0-0-0-0-1
DN:
Identity type: Team Foundation Server application group
Group type: AdministrativeApplicationGroup
Project scope: Server scope
Display name: Team Foundation Administrators
Description: Members of this application group can perform all privileged operations on the server.
10 member(s):
[U] Datum1\hholt (Holly Holt)
[U] Datum1\jpeoples (John Peoples)
[U] Datum1\tommyh (Tommy Hartono)
[U] Datum1\henriea (Henriette Andersen)
[U] Datum1\djayne (Darcy Jayne)
[U] Datum1\aprilr (April Reagan)
[G] Datum1\InfoSec Secure Environment
[U] Datum1\nbento (Nuno Bento)
[U] Datum1\cristp (Cristian Petculescu)
[G] BUILTIN\Administrators (BUILTIN\Administrators)
s [A] [InstanceName]\Team Foundation Service Accounts
Member of 3 group(s):
a [A] [DatumOne]\Project Collection Administrators ([DatumOne]\Project Collection Administrators)
e [A] [DatumOne]\Project Collection Valid Users ([DatumOne]\Project Collection Valid Users)
e [A] [InstanceName]\Team Foundation Valid Users
Done.
下列範例會顯示虛擬公司 "A 中,網域 "Datum1" 內 "DatumOne" Team 專案集合中 Project Collection Administrators 群組的識別資訊。 Datum Corporation",藉由使用 **adm:**識別規範達成。
>tfssecurity /imx adm: /collection:CollectionURL
範例輸出:
Resolving identity "adm: "...
SID: S-1-9-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-0-0-0-0-1
DN:
Identity type: Team Foundation Server application group
Group type: AdministrativeApplicationGroup
Project scope: Server scope
Display name: [DatumOne]\Project Collection Administrators
Description: Members of this application group can perform all privileged operations on the team project collection.
6 member(s):
[U] Datum1\jpeoples (Peoples, John)
[U] Datum1\hholt (Holt, Holly)
[G] BUILTIN\Administrators (BUILTIN\Administrators)
a [A] [InstanceName]\Team Foundation Administrators
s [A] [InstanceName]\Team Foundation Service Accounts
s [A] [DatumOne]\Project Collection Service Accounts ([DatumOne]\Project Collection Service Accounts)
Member of 1 group(s):
e [A] [DatumOne]\Project Collection Valid Users ([DatumOne]\Project Collection Valid Users)
Done.
下列範例會顯示虛擬公司 "A 中,網域 "Datum1" 內 "DatumOne" Team 專案集合中 Project Administrators 群組的識別資訊。 Datum Corporation",藉由使用 **adm:**識別規範達成。
>tfssecurity /imx adm:vstfs:///Classification/TeamProject/ProjectGUID /collection:CollectionURL
範例輸出:
Resolving identity "adm:vstfs:///Classification/TeamProject/ProjectGUID"...
SID: S-1-9-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-XXXXXXX
DN:
Identity type: Team Foundation Server application group
Group type: AdministrativeApplicationGroup
Project scope: Datum
Display name: [Datum]\Project Administrators
Description: Members of this application group can perform all operations in the team project.
2 member(s):
[U] Datum1\jpeoples (Peoples, John)
[U] Datum1\hholt (Holt, Holly)
Member of 2 group(s):
e [A] [DatumOne]\Project Collection Valid Users ([DatumOne]\Project Collection Valid Users)
e [A] [InstanceName]\Team Foundation Valid Users
Done.
如需輸出規範的詳細資訊 (例如 [G] 和 [U]),請參閱 TFSSecurity 識別和輸出規範。