Page 1 of 1

How can i computer account list ?

Posted: Wed Nov 09, 2005 4:42 pm
by schiva
Hello,

I want to check user account exist or not.
I think if i can get list of user account, i can solve problem.

But i have no idea how can i get list of user account on the Windows XP.

Please, let me know....

Thank you.

Posted: Wed Nov 09, 2005 10:40 pm
by madshi
You could try to ask ActiveDirectory. Maybe there are also direct APIs for asking computer accounts, I'm not sure. Sorry, I'm no expert in computer account stuff...

Posted: Wed Nov 09, 2005 10:41 pm
by madshi
P.S: Wait, do you mean computer account or user account? In the question title you say computer account, later you say user account. Those are two different things!

Posted: Thu Nov 10, 2005 4:15 am
by schiva
I'm sorry for my poor english.

I mean user account.
For exmaple... Administrator, guest.. and so on..

Posted: Thu Nov 10, 2005 9:50 am
by madshi
Ok, then you can use NetUserEnum to enumerate all existing user accounts. madSecurity does not contain this functionality yet.