Share via


/g Command

Use /g to list the groups in a project scope.

Required Permissions

To use the /g 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 /g [scope] /server:servername

Parameters

Argument

Description

scope

Optional. Project URI or GUID. If the project name is skipped, the global groups are displayed.

/server:servername

Required. Specifies the name of the application tier server.

Remarks

Run this command on the local application tier computer.

Example

The following example displays all the global groups.

>TFSSecurity /g /server:MyServer

See Also

Tasks

How to: Create a Server-Level Group

Other Resources

TFSSecurity Command-Line Utility Commands

Team Project Groups