spacer
   
   
Mailtraq - the Complete Email Server
   
spacer

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

spacer
spacer

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")

spacer


Download Trial
Buy now
Screenshots
Requirements
Feature Tree
FAQs
What's new
Print this page Print this Page
Mailtraq 2.12 PDF Datasheet
Send a friend an email about Mailtraq ShareMailtraq - Email Server at Delicious Mailtraq - Mail Server at digg Mailtraq - Mail Server at FacebookMailtraq - Email Server at stumbleupon Tweet about Mailtraq

 

 

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