-
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!
-
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...
-
no1? i can't find anything regarding this. Must this be done with an api or something?
-
-
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...