Answered Adding users to team foundation server 2010

  • 14 April 2012 21:00
     
     

    A quick question: how do I add (or fix) so that additional users can connect to the tfs?

    Obviously I don't want them to connect using the administrator user or some other users that have privileges to do other stuff than connect to the team server!

Semua Balasan

  • 15 April 2012 2:52
     
     Jawab

    Hi Natsuki,

    You definately don't want the average user connecting as an Admin.  You can add users several ways (check out the TFS Admin Tool in Codeplex) but the basic way is right in Visual Studio.  Just right click on the Team Project you want the user to be in select Team Project Settings > Group Membership > select the Contributers group and then in the next dialog just add the users account.  This will give the user permission to check in things, if you just want then to connect and get code to a workspace, you can add them to Readers.  There are a lot of other settings and permissions to concider but this should get you started.

    Thanks,

    Gary

    • Disarankan sebagai Jawaban oleh Gary GauvinMVP 15 April 2012 12:28
    • Ditandai sebagai Jawaban oleh Natsuki 15 April 2012 12:35
    •  
  • 15 April 2012 9:55
     
     

    Ugh. So I managed to add users to active directory, connect to team foundation, create a project, then proceed to add users to project, only to find out that I can only select either Team Foundation Groups (useless), or Windows Groups (yes!), except it only allows me to select users from the local PC, and not the domain.The PC is connected to the domain, as well, so why can't I choose to add users from the domain? This is stupid.

    There must be a solution for this... right?

  • 15 April 2012 12:21
     
     

    So in this drop down if you hit the Location buttonyou shouldbe able to change where the users are coming from:

    If not I think you may have domain connectivity issues.  This is a standard system dialog if it won't allow a domain selection I'd start looking at your Domain settings on the computer TFS is on.

  • 15 April 2012 12:25
     
     

    It only allows me to select the local computer (tried already). This machine is also connected to the domain.

    Nevertheless, I am using a local user, since I want to avoid the pain of having to go through hell is the server breaks down again.

    EDIT: Solved.
    I forgot I had set the router to handle the DHCP server due to problems earlier. Of course, that meant the router was handling the DNS and not the domain controller. A quick static config fixed that.

    Thanks so much for the help! You're the best!

    • Diedit oleh Natsuki 15 April 2012 12:32
    • Diedit oleh Natsuki 15 April 2012 12:35
    •