Dela via


Remove Users from a Default Group

You might want to remove a user from a default group in a team project or team project collection if that user is no longer working on that project or any projects within a collection. You might also want to remove a user from a default group if you have created a custom group that has permissions better suited to the tasks that user performs in his or her daily work within a project or collection. For more information about how to create new groups, see Custom Groups.

Required Permissions

To perform this procedure, you must be a member of the Project Administrators group or have Edit Project-Level Information permission set to Allow to remove a user directly from a project-level group on Team Foundation Server. Additionally, you must be a member of the Project Collection Administrators group or have Edit Collection-Level Information permission set to Allow to remove a user directly from a collection-level group. For more information about permissions, see Team Foundation Server Permissions.

To remove a user from a default group at the collection level

  1. In Visual Studio, open Team Explorer, and connect to the project collection for which you are removing a user.

  2. In the Team menu, point to Team Project Collection Settings, and then click Group Membership.

  3. In the Global Group dialog box, select the group from which you want to remove a user, and then click Properties.

  4. In Team Foundation Server Group Properties, select the user who you want to remove from the Members list.

  5. Click Remove, and then click OK.

  6. Click Close on the Global Groups dialog box.

Note

Removing a user in this manner will not remove all a user's permissions if the user is also a member of another group that has permissions in the team project collection. Make sure to remove the user from all groups within the collection if you want to make sure that they no longer have access to the collection.

Warning

When you completely remove a user or group from a collection, any rules specifically and only for that user or group will also be removed. For more information about rules, see Scoping a Field Rule to a Group. Those rules will no longer apply if you re-add that particular user or group. You must re-import the work item type that contains the rule specific to that user or group.

To remove a user from a default group at the project level

  1. In Visual Studio, open Team Explorer, and connect to the Team Foundation Server for which you are removing a user.

  2. Right-click the project, point to Team Project Settings, and then click Group Membership.

  3. In the Project Group dialog box, select the group from which you want to remove a user, and then click Properties.

  4. In Team Foundation Server Group Properties, select the user who you want to remove from the Members list.

  5. Click Remove, and then click OK.

  6. Click Close on the Project Groups dialog box.

Warning

When you completely remove a user or group from a project, any rules specifically and only for that user or group will also be removed. For more information about rules, see Scoping a Field Rule to a Group. Those rules will no longer apply if you re-add that particular user or group. You must re-import the work item type that contains the rule specific to that user or group. For more information about importing work item types, see How to: Import a Work Item Type to an Existing Project.

See Also

Tasks

Add Users to a Default Group

Add Users to a Collection-Level Group

Add Users to a Team Project Group

Concepts

Team Foundation Server Users

Server-Level Groups