Export (0) Print
Expand All

/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 http://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.

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.

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

Community Additions

ADD
Show:
© 2014 Microsoft