on 12/29/2000 7:22 AM, "Chappuis J.-Vincent" <[EMAIL PROTECTED]>
wrote:

> Hi all !
> 
> I had this code when I used a old Turbine Version : data.getUser().getId()
> 
> Now, I would like to get the user id from RunData but, I don't know how.
> getId() method doesn't exist today.
> 
> How can I do to get the current user ID ?
> 
> Any Idea ?
> 
> Thanks and happy new year !

You now need to do a cast because Rafal thinks that an ID for a user should
be deprecated (however, it makes sense from the standpoint of using a
relational db and needing to do associations...thus, you have to do a nasty
cast...i hate casting).

((TurbineUser) data.getUser()).getIdAsInt()

-jon

-- 
Honk if you love peace and quiet.




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to