relies on the Microsoft Windows Active Directory to authenticate usernames. However, Team Foundation Server also keeps its own cache of user information to enable quicker access. In some circumstances, these two lists can get out of sync. For example, if your username changes in Windows, Team Foundation Server may still be holding onto the old username. When you use this function, it updates the Team Foundation Server user cache with the current information that Windows is storing about the current user.
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.