anybody successfully add users with any of these methods? I'm trying them all from a VB ActiveX dll. 1. using AddUser.exe 2. using the IMail API 3. directly appending to the registry i am tearing out my hair - all three seem to be causing me some problem. 1. adduser - it seems to work fine when i call it from a standard VB app, but when i put the same code into a dll and call it from an ASP page, it returns "ERR: failed to add user test2 on domain.com " - no details as to why it failed. if i try to add a username that already exists, it says "ERR: user test already exists on domain.com" so i know the executable is being called. is there something with the windows user account permissions? 2. the IMail API seems totally wack! i sucessfully added a user twice. then, no changes to the code - it just doesn't work anymore. it says the user was crreated, but it isn't. no explaination. also, it has really unusual behavior when setting certain properties - the Max Mailbox size property - crashes when I try to access it. maybe because the vartypes are not compatible with vbscript? 3. i'm ready to give up and just go with directly inserting into the registry, but i don't know how to crypt the password. also, are there any problems with just adding the registrty keys directly? do i need to do anything else? thanks so much for any info. i greatly appreciate it. i'd be happy to share my code with anyone once i actualy get it working. best, jason
To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
