Results 1 to 3 of 3

Thread: NT Server 4 & VB

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    1
    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)

  2. #2
    Junior Member
    Join Date
    Oct 2000
    Posts
    18
    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


  3. #3
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    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
  •  



Click Here to Expand Forum to Full Width