There are two things about TeamFoundationIdentity that can get you back to your AD account. First, the domain name and account name must be the same. With these values, you can get the domain identifier with the form "domain \ accountName". In addition, TeamFoundationId is a GUID that is usually copied directly from AD. I'm not too modern with the AD API, but this should close you.
source share