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

TFSSecurity /g [scope] /server:servername


Argument Description


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.


Run this command on the local application tier computer.


The following example displays all the global groups.

>TFSSecurity /g /server:MyServer

See Also


How to: Create a Server-Level Group

Other Resources

TFSSecurity Command-Line Utility Commands
Team Project Groups