Add Users to Team Projects

You can control the level of access that various members of your team have to team projects by assigning each member to groups for each project. To provide team members with full access to all the functionality of your project, you might also have to add them to groups in SQL Server Reporting Services and SharePoint Products.

By default, Visual Studio Team Foundation Server creates several groups for each project, and each group has its own level of permissions and rights for that project. You can use these default groups or create custom groups that have specific permissions. For example, you can add users to the Readers group so that they can view work items for a project but not create, modify, or delete work items. You can also allow other users to update work items but not to perform administrative tasks, such as deleting projects and publishing test results. For more information about the default user groups in Team Foundation Server, see Team Foundation Server Permissions.

Note

Users who have appropriate permissions might not be able to view team project portals or reports correctly until they add the sites to their lists of Trusted Sites in Internet Explorer. For more information, see this topic on the Microsoft Web site: User Account Control.

If your project uses resources on SharePoint Products and Reporting Services, you must add users who require those resources to groups that have appropriate permissions to those programs. To grant users full access to all functionality for your project, you must add them to the default groups in the following table:

Software

Readers

Contributors

Project Leads

Team Foundation Server

Readers

Contributors

Project Administrators

SharePoint Products

Visitors

Members

Owners

SQL Server Reporting Services

Browser

Browser

Team Foundation Content Manager

For information about how to set permissions for administrators in Team Foundation, see Set Administrator Permissions for Team Project Collections and Set Administrator Permissions for Team Foundation Server.

Required Permissions

To perform these procedures, you must be a member of the following groups:

  • the Project Administrators group or your Edit Server-Level Information permission must be set to Allow in Team Foundation Server

  • the Site Administrators group or Site Collection Administrators group in SharePoint Products

  • Content Managers group or the Project Content Managers group in SQL Server Reporting Services

For more information about permissions, see Team Foundation Server Permissions.

In addition to these permissions, you might need to address the following requirements on a computer that is running Windows Server 2008 or Windows Vista:

  • To follow a procedure that requires Internet Explorer, you might need to start it as an administrator by clicking Start, clicking All Programs, right-clicking Internet Explorer, and then clicking Run as administrator.

  • To access Report Manager, reports, or Web sites for Reporting Services, you might need to add these sites to the list of trusted sites in Internet Explorer or start Internet Explorer as an administrator.

For more information, see this topic on the Microsoft Web site: User Account Control.

To add users to groups in Team Foundation Server

  1. In Visual Studio, open Team Explorer, and then connect to the project collection in Team Foundation Server that contains the project to which you want to add users.

    For more information, see How to: Connect to a Team Project in Team Foundation Server.

  2. Right-click the team project node for which you want to add users, point to Team Project Settings, and then click Group Membership.

  3. Click the name of the group to which you want to add users.

    For example, you might need to add users to a project that is named Application1.

    • To add users who require minimal access to the project, click Application1\Readers.

    • To add users who will contribute fully to this project, click Application1\Contributors.

    • To add users who will act as project leads, click Application1\Project Administrators.

  4. Click Properties.

  5. Under Add Member, click Windows User or Group, and then click Add.

  6. Type the account name of the person or group for whom you want to set permissions.

    You can add more than one user or group at a time by separating the names with a semicolon (;).

  7. When you have finished adding names, click OK twice.

  8. Click Close to close the Project Groups window.

To add users to groups in SharePoint Products

  1. In Visual Studio, open Team Explorer, and then connect to Team Foundation Server.

  2. Right-click the team project node, and then click Show Project Portal.

  3. Perform one of the following sets of steps:

    If you are using Windows SharePoint Services 3.0:

    1. Click Site Actions, and then click Site Settings.

    2. In Site Settings, click People and Groups.

    3. In People and Groups, click New, and then click Add Users.

      Note

      If you can add groups but not users, the administrator of this SharePoint site might not have configured groups for use with this team project, or you might have to add users at the parent site. For more information, see this topic on the Microsoft Web site: Manage SharePoint Groups.

    4. In Users/Groups, type the account name for the user or group that you want to add.

    5. In Give Permission, you can add users to a SharePoint group if groups have been configured, or you can give users permissions as individuals. If your SharePoint site has been configured to use groups, click Add users to a SharePoint group, click the group to which you want to add the user, and then click OK. Otherwise, click Give users permission directly, specify the level of permission, and then click OK.

      For a user who needs only to view the team project portal, click Visitors if you are using groups, or select the Read check box.

      For a user who will fully contribute to the team project, click Members if you are using groups, or select the Contribute check box.

      For a user who will act as a project lead, click Owners if you are using groups, or select the Full Control check box.

      Note

      You can create custom groups in Windows SharePoint Services 3.0 and then add users to those groups. For more information, see this topic on the Microsoft Web site: About Managing SharePoint groups and users.

    If you are using Microsoft Office SharePoint Server 2007:

    1. In the upper-right corner, click Site Actions, point to Site Settings, and then click People and Groups.

    2. On the People and Groups page, in the Quick Launch area, click Groups.

    3. Click the name of thegroup to which you want to add a user, and then type the name of the account that you want to add to this group.

      For a reader, click Visitors.

      For a contributor, click Members.

      For a project lead, click Owners.

    4. Verify that the Add users to a SharePoint group check box is selected and that the group is Members, and then click OK.

      Note

         You can create custom groups in Microsoft Office SharePoint Server 2007 and then add users to those groups. For more information, see this topic on the Microsoft Web site: Give Users Access to a SharePoint Site.

To add users to groups in Reporting Services

  1. Open Internet Explorer**.**

  2. Type the following into the address bar, where ReportServer represents the name of the server that is running SQL Server Reporting Services:

    http://ReportServer/Reports/Pages/Folder.aspx

    You can find the name of the report server by opening Team Explorer, expanding the Reports node, and viewing the properties of a report.

    Important

    If you are using a named instance, you must include its name in the path of the reports. You use the following syntax, where ReportServer is the name of the report server for Team Foundation, and InstanceName is the name of the instance of SQL Server: http://ReportServer/Reports_InstanceName/Pages/Folder.aspx

  3. Click the Properties tab, and then click New Role Assignment.

  4. In Group or User Name, type the account name for the user or group whom you want to add to this group.

  5. In Role, click the appropriate option, and then click OK.

    • For a reader or contributor, click Browser.

    • For a project lead, click Team Foundation Content Manager.

See Also

Tasks

Set Administrator Permissions for Team Foundation Server

Set Administrator Permissions for Team Project Collections

Concepts

Team Foundation Server Permissions

Team Foundation Server Default Groups, Permissions, and Roles

Configuring Users, Groups, and Permissions

Server-Level Groups