How to: Remove a User

If you have added a user to a server or project, you may want to remove that user as soon as the task they have been assigned to perform has been completed.

To reduce administration overhead, we recommend that you assign users to groups as frequently as possible. If you will require the user to perform common tasks through the lifetime of the project, you should consider adding that user to an existing group or to a new group. For more information about how to create new groups, see Custom Groups.

If you want to move a user directly assigned to a server or project to a group, you must first remove that user, and then add the user back to the desired group.

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 the project-level on Team Foundation Server. Additionally, you must be a member of the Team Foundation Administrators group or have Edit Server-Level Information permission set to Allow to remove a user directly from the server-level on Team Foundation Server. For more information about permissions, see Team Foundation Server Permissions.

To remove a user from a Team Foundation Server

  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 Team Foundation Server, point to Team Foundation Server Settings, and then click Security.

  3. In the Global Security dialog box, select the user who you want to remove from the Users and groups list.

  4. Click Remove and when you are prompted to confirm the removal, click Yes.

  5. Click Close on the Global Security 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 on Team Foundation Server. Make sure to remove the user from all groups before removing the user account.

Warning

When you completely remove a user or group from Team Foundation Server, any rules specifically and only for that user or group will also be removed. For more information about rules, see Conditional Field Rule Attributes. 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.

To remove a user from a project

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

  3. In the Project Security dialog box, select the user who you want to remove from the Users and groups list.

  4. Click Remove, and when you are prompted to confirm the removal, click Yes.

  5. Click Close on the Project Security dialog box.

Warning

When you completely remove a user or group from Team Foundation Server, any rules specifically and only for that user or group will also be removed. For more information about rules, see Conditional Field Rule Attributes. 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

How to: Add Users to a Default Group

How to: Add Users to a Server-Level Group

How to: Add Users to a Team Project Group

Concepts

Team Foundation Server Users