Introduction Installation Beginning Admin Quick Ref FTP Server SMTP Server Database Security
Statements Objects String Parsing Events Queues Samples Special names Error Handling Accessories   Back
Objects>User >Properties>Delete
Caravan Business Server>Help>Objects>User > Properties Delete
Name Delete
Text Delete a user programatically
Caravan Business Server>Help>Objects>User > Properties> Uid
Name Uid
Text A unique numeric identification of the user.
Caravan Business Server>Help>Objects>User > Properties> Userid
Name Userid
Text Login identification of the user.
Caravan Business Server>Help>Objects>User > Properties> Username
Name Username
Text Full name of the user, defined during user creation
Caravan Business Server>Help>Objects>User > Properties> Password
Name Password
Text Password - Not accessible for read or write.
Caravan Business Server>Help>Objects>User > Properties> Link
Name Link
Text A user defined link (numeric) that links to information about the user.
Caravan Business Server>Help>Objects>User > Properties> Domain
Name Domain
Text User's domain or Group
Caravan Business Server>Help>Objects>User > Properties> Total
Name Total
Text Total number of users logged in to Caravan
Caravan Business Server>Help>Objects>User > Properties> Add
Name Add
Text Add/Create a new user programatically
Sample   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>

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"
      else
      //create new user
            new(username)="Chris Johnson"
            new(domain)="HRD"
            new(add)
            // Optional  --- default password  "password" will be set;
            "New user with uid:";new(uid);"is created

// Creating a new user and allocating a password
user x="newid"
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>
Home       Back