|
-
Nov 22nd, 2000, 08:33 AM
#1
Thread Starter
New Member
Is there a way of finding if a username is in an specifide group and if the password is the same as the NT Account?? to act as validation??
Ian R Simmons(CCC)
-
Nov 22nd, 2000, 09:07 AM
#2
Junior Member
Here are some links that may help. I got these from a tek-tips.com thread.
List servers users and groups: http://www.netfokus.dk/vbadmincode/code/account.zip
Add global groups to work groups: http://www.netfokus.dk/vbadmincode/code/wks.zip
Enumerate users and groups; add and delete users from a group: http://www.netfokus.dk/vbadmincode/code/ntenum.zip
Add, delete, change groups: http://www.netfokus.dk/vbadmincode/code/enumuser.zip
Control bulk accounts; home directory, script path and others: http://www.netfokus.dk/vbadmincode/code/adduserbulk.zip
-
Nov 22nd, 2000, 12:54 PM
#3
Windows NT will not give you the password of a user. The only thing you could do is try to log on by using it, or to open a program with this account.
API functions like CreateProcessAsUser or LogonUser could be usefull. I have never used them though, so I can't offer you much more help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|