|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Use /g- to remove a user or a user group from an existing group.
To use the /g- command, you must be a member of the Team Foundation Administrators group. For more information, see Team Foundation Server Permissions.
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.
Specifies the group identity. For more information about valid identity specifiers, see TFSSecurity Identity and Output Specifiers.
Specifies the member identity. For more information about valid identity specifiers, see TFSSecurity Identity and Output Specifiers.
Required. Specifies the name of the application tier server.
The following example removes the user "ajesper" from the "Team Foundation Administrators" global group.
>TFSSecurity /g- "Team Foundation Administrators" n:ajesper /server:MyATServer