Udostępnij za pośrednictwem


Remove a User From a Team Project or Team Project Collection

If you have added a user to a team project or team project collection, you might want to remove that user as soon as they complete the task that they have been assigned to perform.

Note

Even if you remove a user in this manner, you will not remove all of that user's permissions if the user is also a member of another group that has permissions in Team Foundation Server. Make sure to remove the user from all groups before you remove the user account.

To reduce administrative overhead, we recommend that you assign users to groups as frequently as possible. If the user must 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, see Add Users to Team Projects.

Note

If you remove a user from a group in Team Foundation Server, you do not automatically remove that user from any groups to which they belong in SQL Server Reporting Services or SharePoint Products. You must manually remove users from any groups to which they belong in those products.

If you want to move a user who is directly assigned to a collection or project to a group, you must first remove that user, and then you must add the user back to the appropriate group.

Warning

When you completely remove a user from Team Foundation Server, you also remove any rules that existed specifically and only for that user. 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. You must re-import the type of work item that contains the rule that is specific to that user.

Required Permissions

To remove a user from a collection, you must be a member of the Project Collection Administrators group or have the View Collection-Level Information and the Edit Collection-Level Information permissions set to Allow. To remove a user from a project, you must be a member of the Project Administrators group or have the View Project-Level Information and Edit Project-Level Information permissions set to Allow. For more information about permissions, see Team Foundation Server Permissions.

To remove a user from a team project collection

  1. In Team Explorer, connect to the team project collection from which you are removing a user.

    For more information, see Connect to and Access Team Projects in Team Foundation Server.

  2. Right-click the collection, point to Team Project Collection Settings, and then click Security.

  3. The Global Security dialog box opens.

  4. In the Users and groups list, click the user whom you want to remove, and click Remove.

  5. When you are prompted to confirm the removal, click Yes.

  6. In the Global Security dialog box, click Close.

To remove a user from a project

  1. In Team Explorer, connect to the team project for which you are removing a user.

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

    The Project Security dialog box opens.

  3. In the Users and groups list, click the user whom you want to remove, and click Remove.

  4. When you are prompted to confirm the removal, click Yes.

  5. In the Project Security dialog box, click Close.

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