Mailtraq - the Complete Email Server
   

Enstar for Mailtraq email server sales & support
Making world-class Internet technology affordable  

Search for:

Advanced search

CreateUser()

Creates a new user in the Console. If the optional argument mailbox is provided, a new mailbox is also created with ownership set to the new user. If the mailbox parameter is empty the properties of the new mailslot are all set to default (that is, as though File, New, User Mailbox, had been used from the Console). If the name of an existing mailbox is specified, the primary properties of that mailslot are copied to the newly created mailbox. NB: the password field of the new mailslot is always left blank.

uid := CreateUser( user , name , password [ , template [ , mailbox ] ] )

user
The new username to create as a string
name
The new user's full name as a string (e.g. Fred Bloggs)
password
The new user's password as a string
template
An existing username, as a string, used as a template to create the new user (optional parameter)
mailbox
An existing mailbox name, as a string, used as a template to create the new user's mailbox (optional parameter)
uid
An integer greater than zero if the specified new user was created successfully, otherwise zero.

Creates a new "fred" user with a user password of "bacon", copying user properties from the existing user "john" and mailbox properties from the existing mailbox "mbox-std"

246299589 := CreateUser("fred", "Fred Bloggs", "bacon", "john", "mbox-std")

Mailtraq Highlights...
 SMTP Server     Mailtraq SMTP email server video IMAP Server     Mailtraq IMAP email Server video
 POP3 Server     Mailtraq POP3 email server video Proxy Server     Mailtraq proxy email server video
 Webmail Server     Mailtraq webmail email server video Mailing-list Server     Mailing list email server video
 Groupware Services     Mailtraq groupware email services video Spam and Virus control     Spam and virus control email server video

 

   Copyright © 2003 - 2011 Enstar Ltd, Enstar LLC & Fastraq Ltd. All rights reserved. Privacy policy.
   Mailtraq® is a registered trademark of Fastraq Limited.