2012-12-03 4 views

답변

1

TFS에서 그룹에 사용자를 추가 할 수있는 옵션이없는 것처럼 보이는 PowerShell 설명서 (C : \ Program Files (Microsoft) Team Foundation Server 2010 Power Tools \ Help \ PowerShellCmdlets.mht)를보고 있습니다. 그러나 TFS 전동 공구를 설치 한 경우 명령 줄에서 tfssecurity 도구를 사용할 수 있습니다.

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>tfssecurity /? 
[...] 
    /g+ groupIdentity memberIdentity (/collection:CollectionURI | /server:ServerURI) 
     Adds a user or a group to an existing group. 
[...] 
Identity Specifiers: 

    sid:sid - References the identity with the specified SID. 
     Example: sid:S-1-5-21-2127521184-1604012920-1887927527-588340 

    n:[domain\]name - References the identity with the specified name. For Windows, name is the logon name. If the referenced identity is in a domain, the domain name is required. For application groups, name is the group display name and domain is the URI or GUID of the containing project. In this context, if domain is omitted, the scope is assumed to be collection-level. 
     Example: To reference the identity of the user "John Peoples" in the domain "Datum1" at the fictitious company "A. Datum Corporation, you would use the following syntax: 
      n:DATUM1\jpeoples 
     Example: To reference application groups, you could use either of the following syntaxes: 
      n:"Full-time Employees" 
      n:00a10d23-7d45-4439-981b-d3b3e0b0b1ee\Vendors 
[...] 

그래서 같을 것이다

tfssecurity /g+ [ProjectName]\Contributor Domain\UserName /collection:http://yourTfs:8080/ProjectCollection 
+0

멋진, 시도 내일 줄 것이다. 감사 – timB33

관련 문제