共用方式為


/i 命令

使用 /i 顯示在 Team Foundation Server 的部署中指定的群組其身分識別資訊。

必要的使用權限

若要使用 /i 命令,您必須分別將 [檢視集合層級資訊] 或 [檢視執行個體層級資訊] 權限設為 [允許],視您使用的是 /collection 或 /server 參數而定。 如需詳細資訊,請參閱Team Foundation Server 使用權限

TFSSecurity /i 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 命令列公用程式的 /i 命令會顯示 Team 專案集合 (/server) 或應用程式層伺服器 (/instance) 內每個群組的相關資訊。 它不會顯示任何成員資格資訊。

範例

下列範例會顯示 "Team Foundation Administrators" 群組的識別資訊。

注意事項注意事項

本文件中所述,用來舉例之公司、組織、產品、網域名稱、電子郵件位址、標誌、人物、場所和事件皆為虛構。沒有意圖或不應該推斷為與任何真實存在的公司、組織、產品、網域名稱、電子郵件位址、標誌、人物、場所或事件有所關聯。

>tfssecurity /i "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.

下列範例中使用 adm: 識別規範顯示 Project Collection Administrators 群組的識別資訊。

>tfssecurity /i 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.

下列範例中使用 adm: 識別規範顯示 "Datum" 專案其 Project Administrators 群組的識別資訊。

>tfssecurity /i adm:vstfs:///Classification/TeamProject/ProjectGUID /collection:CollectionURL 

範例輸出:

Resolving identity "adm:vstfs:///Classification/TeamProject/ProjectGUID"...

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: Datum
 Display name: [Datum]\Project Administrators
  Description: Members of this application group can perform all operations in the team project.

請參閱

工作

建立集合層級群組

其他資源

使用 TFSSecurity 變更群組和權限

專案層級群組