How can i computer account list ?

delphi package - easy access to security apis
Post Reply
schiva
Posts: 23
Joined: Fri Sep 02, 2005 5:23 am

How can i computer account list ?

Post 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.
madshi
Site Admin
Posts: 10528
Joined: Sun Mar 21, 2004 5:25 pm

Post 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...
madshi
Site Admin
Posts: 10528
Joined: Sun Mar 21, 2004 5:25 pm

Post 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!
schiva
Posts: 23
Joined: Fri Sep 02, 2005 5:23 am

Post by schiva »

I'm sorry for my poor english.

I mean user account.
For exmaple... Administrator, guest.. and so on..
madshi
Site Admin
Posts: 10528
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Ok, then you can use NetUserEnum to enumerate all existing user accounts. madSecurity does not contain this functionality yet.
Post Reply