[opencms-dev] * Fetch USER_ID from cms_users table *

James jim at futurate.com
Wed Nov 24 18:48:15 CET 2004


How do I fetch the user_id of a logged-in web user from the cms_users table?
 
I need to connect this user id to another database that links this user to
their profile and pulls data into an ‘Edit user profile’ form.
 
Do I do something like 
 
CmsJspActionElement cmsjsp = new CmsJspActionElement( pageContext, request,
response );
CmsObject cms = cmsjsp.getCmsObject();
String userid = cmsjsp.user( “id” )

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.797 / Virus Database: 541 - Release Date: 15/11/2004
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20041124/f1c5520b/attachment.htm>


More information about the opencms-dev mailing list