title: Where do I administer the email addresses of TFS users?
body: <p>In my Team Foundation Server, I have a collection containing a Team Project. This Team Project has several contributors. The following lines of code get all contributors of that project:</p>
  
  <pre><code>TfsTeamProjectCollection collection = new TfsTeamProjectCollection(new Uri("http://tfs:8080/tfs/CollectionName"));
  
  IGroupSecurityService groupSecurityService = collection.GetService&lt;IGroupSecurityService&gt;();
  
  Identity contributors = groupSecurityService.ReadIdentity(SearchFactor.AccountName, "[ProjectName]\\Contributors", QueryMembership.Expanded);
  
  Identity[] members = groupSecurityService.ReadIdentities(SearchFactor.Sid, contributors.Members, QueryMembership.None);
  </code></pre>
  
  <p>Each Identity in <strong>members</strong> has a Property <strong>MailAddress</strong>, which in my case is equal to string.Empty.</p>
  
  <p>Where do I administrate those mail addresses? </p>
  
  <p>My first idea was to have a look at the users in Start->Administrative Tools->Computer Management->Users</p>
  
  <p>I selected one of the users and opened his properties. I thought there might be an email property that the TFS would take. But I couldn't find one. </p>
  
  <p>Then I opened the TFS Administration Console, looked for Group Membership and navigated to one of the users. There is also no way of editing properties.</p>
  
  <p>Does anyone know where to set that email address?</p>