Click to Rate and Give Feedback

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
Visual Studio Team System
/g+ Command

Use /g+ to add a user or another group to an existing group.

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.

ms400759.alert_note(en-us,VS.90).gifNote:

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+ groupIdentity memberIdentity /server:servername

Argument

Description

groupIdentity

Specifies the group identity. For more information on valid identity specifiers, see TFSSecurity Identity and Output Specifiers.

memberIdentity

Specifies the member identity. For more information on valid identity specifiers, see TFSSecurity Identity and Output Specifiers.

/server:servername

Required. Specifies the name of the application tier server.

Run this command on the local application tier computer.

You can also add users and groups to an existing group using Team Explorer. For more information, see How to: Add Users to a Server-Level Group.

The following example adds the user "ajesper" to the "Team Foundation Administrators" global group.

>TFSSecurity /g+ "Team Foundation Administrators" n:ajesper /server:MyAtServer
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker