You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Richard Catlin <rc...@redshift.com> on 2001/08/16 19:49:45 UTC
How to retrieve user_id for user?
How to retrieve user_id for user?
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: How to retrieve user_id for user?
Posted by "Daniel B. Ramagem" <da...@ssaihq.com>.
You can do the following (TDK 2.1):
int userID =
Integer.parseInt((((BaseObject)data.getUser()).getPrimaryKey().getValue().to
String()));
Daniel Bloomfield Ramagem
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: How to retrieve user_id for user?
Posted by Heiko Braun <he...@fork.de>.
the login name acts as unique id and
is available through the user class.
if you need the numeric id you can still
query the TurbineUserPeer with the login name as
criteria and retrieve it this way.
--
heiko braun, fork unstable media
http://www.unstablemedia.com
On Thu, 16 Aug 2001, Richard Catlin wrote:
> How to retrieve user_id for user?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org