|
-
Oct 20th, 2001, 12:09 PM
#1
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!
-
Oct 20th, 2001, 04:17 PM
#2
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...
-
Oct 21st, 2001, 11:46 AM
#3
no1? i can't find anything regarding this. Must this be done with an api or something?
-
Oct 21st, 2001, 12:11 PM
#4
Banned
-
Oct 21st, 2001, 03:22 PM
#5
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|