Who’s in My TFS?
I had a customer recently ask how to generate a list of TFS users. What constitutes a TFS user may differ from person to person, but there are ways to do this. For this brief post, I want to describe one of these.
TFS administrators can use the TFSConfig tool to query and modify various aspects of their Team Foundation Server instance. The TFSConfig tool is, by default, located in C:\Program Files\Microsoft Team Foundation Server 11.0\Tools. Learn more about TFSConfig here.
Team Foundation Server 2010 introduced a new Identities command. Unfortunately, you need some pretty beefy creds to run this command. You must be in the Team Foundation Administrators group and sysadmin on the data tier! Here is the output if you run this command within the Brian Keller TFS virtual machine (found here).
Learn more about the Identities command here.
NOTE: In TFS 2005 and TFS 2008, you could use the TfsConfig Sid command for similar results.