Results 1 to 5 of 5

Thread: User exist???

  1. #1
    Pauwl
    Guest

    User exist???

    Hi I just starting (trying) to program a little app for creating a windows nt useraccount in a domain and some other stuff, but I would like to know if there's any to check if a user already exist, and so yes, put a 2 at the end instead of a 1 (or a 3 if 2 also exists) because that's a default at our company, the numbers on the end.

    any1 knows if VB can do this? Thanks!

  2. #2
    Pauwl
    Guest
    Anyone knows if this is possible within VB? Maybe I have to do it with an external dos command or something?
    oh well I'll hear if it's possible...

  3. #3
    Pauwl
    Guest
    no1? i can't find anything regarding this. Must this be done with an api or something?

  4. #4

  5. #5
    Pauwl
    Guest
    I figured out it has to be done through netapi32 but the examples i come accross are to complex. I just need a form where i fill in a username i get a msgbox to says user exists or user doesn't exist. when i got that i can build further on that. does someone has that piece of code for me ?
    something like NetUserGetInfo text1.text where text1 is a textbox...

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