I call adduser from coldfusion using the CFEXECUTE tag.  Cool thing about
this is that it returns error codes that can be trapped.  I would highly
recommend this method over accessing the registry directly.

Evans Martin
http://www.martekware.com

----- Original Message -----
From: "Keif Gwinn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, May 07, 2002 9:22 AM
Subject: Re: [IMail Forum] centralized automated user creation (imail
registry)


> Hi,
>
> > I'm using the Imail internal registry (I don't want to switch to
> > an external database, so please don't suggest that).
> >
> > I want to automate creating users by spawning the adduser.exe
> > utility from an ASP script.
>
> I wouldn't do that... I'd just access the registry direct to put in the
> users/domains ... we've written a COM object that handles all of that, but
> I'm afraid we can't share.
>
> > I would like to do this on a centralized "administrative server". I'm
> > not sure how to programmatically run commandline utilities on
> > another server?
>
> You can setup helper web services on each of the machines that actually
> run the script, and get the centralised server to talk to the remote
> servers to run it, XML like you said is a handy transport mechanism for
> the information you need.
>
> > The mail server is not runinng .Net (in the future, I'd do it as an XML
> > dot Net web service, but not ready for that yet.)
>
> MSXML 4 and ASP3 make it really easy anyway to use XML as a control
> mechanism without .Net
>
> Keif Gwinn
>
> IARNA, a Hostway Company
> scotts sufferance wharf
> 1 mill street. london. se1
> united kingdom
> t/ +44 207 231 7766
> f/ +44 207 231 2327
> www.iarna.co.uk
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> An Archive of this list is available at:
> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>
> Please visit the Knowledge Base for answers to frequently asked
> questions:  http://www.ipswitch.com/support/IMail/
>


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Please visit the Knowledge Base for answers to frequently asked
questions:  http://www.ipswitch.com/support/IMail/

Reply via email to