[ic] matching a variable in the userdb
Jonathan Clark
interchange-users@lists.akopia.com
Sun May 20 12:08:00 2001
> it all works fine with a simple [if session logged_in] but the
> userdb lookup
> is posing to be a problem! In the list i´ve found these 2 examples neither
> of which work
>
> [if data userdb::user_restriction::[data session username]]
> and [if value user_restriction]
>
why not load it into a scratch variable at login with:
UserDB default scratch "dealer credit_limit user_restriction"
in the catalog.cfg
and use [if scratch user_restriction] [/if]
Jonathan
Webmaint