title: How to get User details using Team Foundation Server (TFS) java SDK
body: <p>I am trying to access TFS user details(profile details) for all the user who performed activities in TFS server. currently I am getting only user Display name using 'Assigned To' or 'Created By' fields.</p>
  
  <p>I am trying to get user identity using following code.</p>
  
  <pre><code>IIdentityManagementService  identityManagementService = (IIdentityManagementService)tpc.getConfigurationServer().getWebService(IdentityManagementService.class);
  TeamFoundationIdentity UserID = identityManagementService.readIdentity(IdentitySearchFactor.DISPLAY_NAME,
                      "Chunky Garg", MembershipQuery.DIRECT, ReadIdentityOptions.EXTENDED_PROPERTIES);
  </code></pre>
  
  <p>Using above code i end up in following Exception</p>
  
  <pre><code>Exception in thread "main" com.microsoft.tfs.core.config.webservice.UnknownWebServiceException: Unknown web service: [com.microsoft.tfs.core.clients.webservices.IdentityManagementService]
      at com.microsoft.tfs.core.config.webservice.DefaultWebServiceFactory.newWebService(DefaultWebServiceFactory.java:226)
      at com.microsoft.tfs.core.TFSConnection.getWebService(TFSConnection.java:891)
      at tfs.TFSTest.main(TFSTest.java:93)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
  </code></pre>
  
  <p>Please let me know if this a bug is java SDK or am i doing something wrong.</p>
  
  <p>TFS version - using cloud version
  JAVA SDK - 12.0.2
  OS : MacOSX</p>