We had used below code for fetching users.
TeamFoundationIdentity identities = identityManagementService.ReadIdentity(IdentitySearchFactor.AccountName, "["+ connectionInfo.tfsServerAuth.TeamCollectionName+ "]\\Project Collection Valid Users", MembershipQuery.Expanded, ReadIdentityOptions.ExtendedProperties);
In this code, identities comes as null on specific TFS instance where TFS is in japanese, as per documentation on msdn at http://msdn.microsoft.com/en-us/library/ff731745.aspx it tells that when there is no match it return null. Now we suspect that on searching the query we are using English TFS Group name like "\\Project Collection Valid Users" while on that TFS instance this TFS Group names are in japanese language.
We tried to reproduce this issue on our side by installing Windows Server 2008 R2 in Japanese language and then install TFS 2013 of Japanese language but on our side those TFS Group names comes as English word.
Is there any way where we don't need to pass the TFS Group name(Or some internal id of TFS Group), and it will work based on local language installed on TFS.
TeamFoundationIdentity identities = identityManagementService.ReadIdentity(IdentitySearchFactor.AccountName, "["+ connectionInfo.tfsServerAuth.TeamCollectionName+ "]\\Project Collection Valid Users", MembershipQuery.Expanded, ReadIdentityOptions.ExtendedProperties);
In this code, identities comes as null on specific TFS instance where TFS is in japanese, as per documentation on msdn at http://msdn.microsoft.com/en-us/library/ff731745.aspx it tells that when there is no match it return null. Now we suspect that on searching the query we are using English TFS Group name like "\\Project Collection Valid Users" while on that TFS instance this TFS Group names are in japanese language.
We tried to reproduce this issue on our side by installing Windows Server 2008 R2 in Japanese language and then install TFS 2013 of Japanese language but on our side those TFS Group names comes as English word.
Is there any way where we don't need to pass the TFS Group name(Or some internal id of TFS Group), and it will work based on local language installed on TFS.