This is my situation. I have a farm in which an instance of Sharepoint Foundation is installed.. Windows Server is configure to accept users from 3 trusted domain (xxx, yyy and zzz)
Suppose i have user like:
xxx\u1 yyy\u1
When i told people picker xxx\u1 he cannot resolve the name and ask me to choose between xxx\u1 and yyy\u1...
This is not a problem in that moment, but when I try to access programmatically to users it creates problem..
I access like this:
Web.EnsureUser("xxx\u1");
Is there any other way to do the same thing but with the correct domain\username selection?
Thank you very much!