You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Jim Knoll <jk...@indy.rr.com> on 2002/02/26 01:37:53 UTC

How to get UserId?

Hello,

I would like to get the UserId and use it my own table as foreign key. I
know I can get a user object from RunData.getUser(), and I could access
UserId with TurbineUserPeer.  How do I get from the User to the User's
table entry?  Do I have to do a query on first_name, last_name?  What if
multiple users have the same name?

I would appreciate any help.

Thanks,

Jim

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: How to get UserId?

Posted by Stéphane MOR <st...@yahoo.fr>.
Hello,

I think that you can find some answers here :
http://jakarta.apache.org/turbine/turbine-2/howto/extend-user-howto.html

It should get you started.
Stephane

----- Original Message -----
From: "Jim Knoll" <jk...@indy.rr.com>
To: <tu...@jakarta.apache.org>
Sent: Tuesday, February 26, 2002 1:37 AM
Subject: How to get UserId?


> Hello,
>
> I would like to get the UserId and use it my own table as foreign key. I
> know I can get a user object from RunData.getUser(), and I could access
> UserId with TurbineUserPeer.  How do I get from the User to the User's
> table entry?  Do I have to do a query on first_name, last_name?  What if
> multiple users have the same name?
>
> I would appreciate any help.
>
> Thanks,
>
> Jim
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>