Great question. However, there is no direct method that you could use for this. Instead, you will need to do the following:
public string GetProgrammer(string projectname, string file, int linenumber) {
Some unresolved issues - Several times the same line, or rather the same block of code, is modified by several users when developing a file. How do you plan to handle this?
Look at these blog posts that can help you get started connecting to TFS, using versionControlServer to retrieve changesets for a file and create loops using changesets. http://geekswithblogs.net/TarunArora/category/12804.aspx
NTN Greetings, Tarun
source share