include sample_top.html
Caravan Business Server>Examples>User Domain


if userinfo(uid) else goto last; endif
Creating a New User

User ID*
User Name*
Domain*

if userinfo(uid) if form(txtuserid) user new new(userid)=form(txtuserid) //check if the userid is already in use. if new(uid)<>"0" "User ";new(username);" with login ID ";new(userid); " already exist
" else //create new user new(username)=form(txtusername) new(domain)=form(txtdomain) new(add) "New user with uid: ";new(uid);" is created
" endif endif else label last; //Prompt the user to login "" "   You have not logged in." "Click to here to login" endif
  include sample_bottom.html