hi all, i want to create an account in vb for my win2000 os.
how can i do ? is there any special api for do this ?
the account that i want create may be local account or network account.
plz help me !
Printable View
hi all, i want to create an account in vb for my win2000 os.
how can i do ? is there any special api for do this ?
the account that i want create may be local account or network account.
plz help me !
I suppose the NetUserAdd() API would do the trick
Or if active directory is used, you can use the adsi COM methods.
I have never used them though.
loads of code at
http://www.microsoft.com/technet/tre...er/default.asp
click on users & groups... - mostly ad though...
and mostly script but scripts are easy to turn into an app....
cheers, AJP