Results 1 to 4 of 4

Thread: create an account ?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2003
    Location
    iran
    Posts
    28

    create an account ?

    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 !
    Thank yoOu -):

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    I suppose the NetUserAdd() API would do the trick
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    Or if active directory is used, you can use the adsi COM methods.
    I have never used them though.

  4. #4
    Hyperactive Member
    Join Date
    Feb 2001
    Posts
    280
    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

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