Gopal Ramasammy-Cook wrote:
> Hi
>
> Why is it not possible to retrieve a USER_ID from the Turbine User table? I tried
>the getPerm method, it returns null. I made sure I had a user to work with since I
>could retrieve a login name etc. Is there something special about the USER_ID?
>
> TIA,
> Karim
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Try this
long userID = Long.parseLong((((BaseObject)data.getUser()).
getPrimaryKey().getValue().toString()));
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>