Advertisement

03.03.2004 at 03:56PM PST, ID: 20906294
[x]
Attachment Details

Using LookupAccountName within a domain

Asked by bjornsone in Windows Programming

Tags:

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
EricStart Free Trial
[+][-]03.03.2004 at 05:48PM PST, ID: 10510491

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Windows Programming
Tags: lookupaccountname
Sign Up Now!
Solution Provided By: jkr
Participating Experts: 2
Solution Grade: A
 
 
[+][-]03.03.2004 at 10:30PM PST, ID: 10511651

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]03.04.2004 at 07:09AM PST, ID: 10514518

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.04.2004 at 08:20AM PST, ID: 10515240

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32