How can i computer account list ?

delphi package - easy access to security apis

How can i computer account list ?

Postby schiva » Wed Nov 09, 2005 4:42 pm

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

Postby madshi » Wed Nov 09, 2005 10:40 pm

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: 9719
Joined: Sun Mar 21, 2004 5:25 pm

Postby madshi » Wed Nov 09, 2005 10:41 pm

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

Postby schiva » Thu Nov 10, 2005 4:15 am

I'm sorry for my poor english.

I mean user account.
For exmaple... Administrator, guest.. and so on..
schiva
 
Posts: 23
Joined: Fri Sep 02, 2005 5:23 am

Postby madshi » Thu Nov 10, 2005 9:50 am

Ok, then you can use NetUserEnum to enumerate all existing user accounts. madSecurity does not contain this functionality yet.
madshi
Site Admin
 
Posts: 9719
Joined: Sun Mar 21, 2004 5:25 pm


Return to madSecurity

Who is online

Users browsing this forum: No registered users and 1 guest