getting user from specific domain

hi
how can i get specific user information (display name etc.) according to user name and domain?
i don't know if the domain contain com or extension, so i can't use it.
I have only the domain name. For example DomainA\UserNameA
[256 byte] By [linal] at [2007-11-20 7:54:31]