You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Gareth Coltman <ga...@majorband.co.uk> on 2001/06/19 17:59:04 UTC
Getting the user id as a number
Is this really the easiest way to get the user id as a long value or is there an better method to use:
long userUid = Long.parseLong((((BaseObject)data.getUser()).
getPrimaryKey().getValue().toString()));
thanks
Gareth
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org