on 2/19/01 10:03 PM, "Ivan Makkaveyev" <[EMAIL PROTECTED]> wrote:

> Hello All!
> 
> I'd like to reference TURBINE_USER from my application tables. The most
> natural way I suppose would be using USER_ID. But I cannot find methods to
> obtain it. What can I do? Adding additional attribute and using
> setPerm/getPerm is a workaround but is not effective. Using UserName is not
> a good solution either.
> 
> Any advises 'd be gratly appreciated...
> 
> Ivan Makkaveyev

Yup, you need to cast up to BaseObject to get at that number (TurbineUser
extends BaseObject). The reason for this is because you can't depend on a
USER_ID in a LDAP or other similar application (it doesn't exist).

-jon

-- 
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/> && <http://java.apache.org/turbine/>



------------------------------------------------------------
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