/gd Command

Use /gd to delete a server-level group.

Required Permissions

To use the /gd command, you must be a member of the Team Foundation Administrators security group. For more information, see Team Foundation Server Permissions.

Note

Even if you are logged on with administrative credentials, you must open an elevated Command Prompt to perform this function on a server that is running Windows Server 2008. To open an elevated Command Prompt, click Start, right-click Command Prompt, and click Run as Administrator. For more information, see the Microsoft Web site.

TFSSecurity /gd groupIdentity /server:servername

Parameters

Argument

Description

groupIdentity

Specifies the group identity. For more information about valid identity specifiers, see TFSSecurity Command-Line Utility Commands.

/server:servername

Required. Specifies the name of the application-tier server.

Remarks

Run this command on the local application-tier computer.

You can also remove groups on Team Explorer. For more information, see How to: Remove a Server-Level Group and How to: Remove a Team Project Group.

Example

The following example deletes a group identified by "S-1-5-21-2127521184-1604012920-1887927527-588340", the security identifier (SID). For more information about finding the SID of a group, see /im Command. You can also use the friendly name to delete a group.

>TFSSecurity /gd S-1-5-21-2127521184-1604012920-1887927527-588340 /server:MyATServer

See Also

Tasks

How to: Create a Server-Level Group

Other Resources

TFSSecurity Command-Line Utility Commands

Team Project Groups

Default Groups