Home
Main Introduction Features Constants Statements Database Objects Parser Serial-Communication Samples Misc
Constants>Userinfo Variable
Caravan Business Server>Help>Constants>Userinfo Variable
Syntax Userinfo
Text Userinfo is a predefined variable representing all logged in users. This is a system created persistent object available only for the logged in user. Using this variable, the following properties of the user object can be accessed.
Sample The userinfo variable can be accessed as shown inthe example.
<HTML>
<BODY>
Who am I?
<caravan>
"You are "; userinfo(username);"<br>"
"Your user id is "; userinfo(userid);"<br>"
"Your unique id is "; userinfo(uid);"<br>"
</caravan>
</BODY>
</HTML>

Note : You must be logged in to test this feature
Properties Uid
Userid
Username
Back