/gc Command
Use /gc to create a project-specific group.
Required Permissions
To use the /gc command, you must be a member of the Team Foundation Administrators security group. For more information, see Team Foundation Server Permissions.
TFSSecurity /gc scope groupName [groupDescription] /server:servername
Parameters
Argument | Description |
---|---|
scope |
Specifies the project GUID or URI of the team project. To get the URI, run https://localhost:8080/services/v1.0/CommonStructureService.asmx/ListAllProjects on Team Foundation Server. |
groupName |
Specifies the project group name. |
groupDescription |
Optional. Project group description. |
/server :servername |
Required. Specifies the name of the application tier server. |
Remarks
Run this command on the local application tier computer.
A group with project scope is essentially a security group for your team project. Project groups can be used to grant read, write, and administrative permissions to meet the security requirements of your organization.
Example
The following example creates a group specific to the project specified by the URI:" vstfs://Classification/TeamProject/088e66e2-714a-476d-8f04-db899712f92a." The group is named "Test Group" and it has the description "This group is for testing."
>TFSSecurity /gc "vstfs://Classification/TeamProject/088e66e2-714a-476d-8f04-db899712f92a" "Test Group" "This group is for testing" /server:MyServer
See Also
Tasks
How to: Create a Server-Level Group
How to: Create a Team Project Group
Other Resources
TFSSecurity Command-Line Utility Commands
Team Project Groups
Default Groups