Home
Main Introduction Features Constants Statements Database Objects Parser Serial-Communication Samples Misc
Misc>Creating a New User
Caravan Business Server>Help>Misc>Creating a New User
Syntax A new user can be created only by Admin domain. The web page used for creating a new user has to begin with
<CARAVAN>domain admin</CARAVAN>.
Text Alternatively, you can log into the Caravan Business Server as Admin to create a new user. Click on the Create A User hyperlink to create a new user. Refer to Creating a User in the Caravan Database.
Sample Example
<HTML>
<BODY>
<CARAVAN>
//By specifying "domain admin" restricts other users from accessing this page.
domain admin
user new
new(userid)="Chris"
//check if the userid is already in use.
If new(uid)<>"0"
"User";new(username);"with login ID";new(userid);"already exists<br>"
else
//create new user
new(username)="Chris Johnson"
new(domain)="HRD"
new(add)
"New user with uid:";new(uid);"is created<br>
user x="newid"
// Optional --- default password "password" will be set;
x(password)="newpswd"
x(username)="n. e .wuser"
x(domain)="general"
x(add)
"new user with uid: ";x(uid);" is created<br>"
</CARAVAN>
</BODY>
</HTML>
Back