LookupAccountName works fine for me in the separate cases
of (1) local user and (2) domain user. I have a problem when
there is both a local user AND a domain user that have the
same username. I have retrieved the domain name, but how
do I tell LookupAccountName whether I am interested in a local
user or a domain user of the specified username? I'm hoping
that somewhere in the function call I can just tell it what domain
I'm interested in (or specify that I'm interested in only a local user),
but I can't find how to do this in the documentation.
Thanks alot
Eric
Start Free Trial