Udostępnij za pośrednictwem


Add a User Directly to a Team Project or Team Project Collection

As an administrator, you add a user to a group in a team project or team project collection much more often than you add a user directly to that project or collection. Before you add the user, you should determine what the user's role is and what permissions the user requires to complete this role. If the user is performing a common role, you might want to add the user to a project group or collection group, instead of to a project or collection directly. For more information, see Add Users to a Team Project Group and Team Foundation Server Default Groups, Permissions, and Roles.

Required Permissions

To add a user to 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 add a user to 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 add a user directly to a team project collection

  1. Open Team Explorer, and connect to the team project collection to which you want to add 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.

    The Global Security dialog box opens.

  3. In Add users and groups, click Windows User or Group, and then click Add.

  4. Verify that both the object type and the location are correct.

  5. In Enter the object names to select, type the alias for the user or group that you want to add, and click OK.

  6. In the Global Security dialog box, make sure that the user whom you just added is highlighted in Users and Groups.

  7. In Permissions, select the appropriate check boxes for the permissions that you want to allow or deny the user that you are adding.

    By default, no permissions are allowed or denied to a user or group. If you do not allow or deny any permissions, the user will not appear after you click Close.

  8. Click Close.

To add a user directly to a team project

  1. Open Team Explorer, and connect to the team project collection to which you want to add a user.

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

  2. Right-click the server that is running Team Foundation Server, point to Team Project Settings, and then click Security.

    The Project Security dialog box opens.

  3. In Add users and groups, click Windows User or Group, and then click Add.

  4. Verify that both the object type and the location are correct.

  5. In Enter the object names to select, type the alias for the user or group that you want to add, and click OK.

  6. In the Project Security dialog box, make sure that the user whom you just added is highlighted in Users and Groups.

  7. In Permissions, select the appropriate check boxes for the permissions that you want to allow or deny the user that you are adding.

    By default, no permissions are allowed or denied to a user. If you do not allow or deny any permissions, the user will not appear after you click Close.

  8. Click Close.

To add a user directly to the server-level

  • Instead of adding users directly to the server level, consider adding users to a server-level group. For more information, see Server-Level Groups.

See Also

Tasks

Add Users to a Collection-Level Group

Concepts

Team Foundation Server Permissions

Other Resources

Managing Users in Team Foundation Server

Managing Groups