Caravan Business Server>Help>Objects>User Object |
Syntax
|
User <CARAVAN>user objectName</CARAVAN>
Domain (Roles) <CARAVAN>domain domain name</CARAVAN>
Multiple Domains (Roles) <CARAVAN>domain <domain name>|<domain name></CARAVAN>
|
Text
|
For security reasons, the user information is not available directly from the caravan.users database. To access the user information, an interface is available through the user object or through the predefined userinfo object for all logged in users. The Domain or Role is an important property of the user that can be set on each web page. A user could belong to the domain/role Employee or Manager. A domain can also be a department, say HRD or Marketing. The Caravan Business Server will prompt the logged in user for a login name and password, for access to a specified domain. Only users authorized to access a user domain are allowed access to the pages for that domain. Using the domain of the user, different menus and options can also be shown to the user.
|
Sample
|
Example <CARAVAN>User customer</CARAVAN> //user <CARAVAN>domain HRD</CARAVAN> //user whose domain is HRD <CARAVAN>domain HRDMan/MarMan</CARAVAN> //multiple domains/roles of HRD Manager and Marketing Manager. Details of <userid>, <username>, <password>, <link> and <domain> can be accessed only through an admin login. Details of and <total> are available to all.
|
Properties
|
Uid
Userid
Username
Password
Link or more info
Domain
Total
|
Back
|