security::set_user_id (public)
security::set_user_id user_id
Defined in packages/acs-tcl/tcl/security-procs.tcl
Set the OpenACS connection user ID and the identity recorded by NaviServer's access logger. Zero denotes an anonymous OpenACS user. This also updates ns_conn authuser, replacing any HTTP authentication username. Without an HTTP connection, only ad_conn is updated.
- Parameters:
- user_id (required)
- OpenACS user ID, or zero for an anonymous user
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.