delphi package - easy access to security apis
schiva
Posts: 23 Joined: Fri Sep 02, 2005 5:23 am
Post
by 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.
madshi
Site Admin
Posts: 10764 Joined: Sun Mar 21, 2004 5:25 pm
Post
by 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: 10764 Joined: Sun Mar 21, 2004 5:25 pm
Post
by 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!
schiva
Posts: 23 Joined: Fri Sep 02, 2005 5:23 am
Post
by 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..
madshi
Site Admin
Posts: 10764 Joined: Sun Mar 21, 2004 5:25 pm
Post
by 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.