You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Carlos Orrego <or...@inflexa.com> on 2002/10/16 03:11:32 UTC

User Role in Session??

Hola señores,

can i get the role(s) of a user from the rundata object in the session?
if so how?



Carlos Orrego
www.inflexa.com

"Salve un árbol. No imprima."
"Save a tree. Do not print."



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: User Role in Session??

Posted by Carlos Orrego <or...@inflexa.com>.
thx very much

carlos

-----Original Message-----
From: David Sean Taylor [mailto:david@bluesunrise.com]
Sent: Wednesday, October 16, 2002 1:17 AM
To: Jetspeed Users List
Subject: RE: User Role in Session??


Hola señor,

http://jakarta.apache.org/jetspeed/api/org/apache/jetspeed/services/rundata/
JetspeedRunData.html#getJetspeedUser()
http://jakarta.apache.org/jetspeed/api/org/apache/jetspeed/om/security/Jetsp
eedUser.html
http://jakarta.apache.org/jetspeed/api/org/apache/jetspeed/services/security
/RoleManagement.html#getRoles(java.lang.String)

Iterator roles =
JetspeedRoleManagement.getRoles(rundata.getJetspeedUser().getUserName());

> -----Original Message-----
> From: Carlos Orrego [mailto:orrego@inflexa.com]
> Sent: Tuesday, October 15, 2002 6:12 PM
> To: Jetspeed User List
> Subject: User Role in Session??
>
>
> Hola señores,
>
> can i get the role(s) of a user from the rundata object in the session?
> if so how?
>
>
>
> Carlos Orrego
> www.inflexa.com
>
> "Salve un árbol. No imprima."
> "Save a tree. Do not print."
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: User Role in Session??

Posted by David Sean Taylor <da...@bluesunrise.com>.
Hola señor,

http://jakarta.apache.org/jetspeed/api/org/apache/jetspeed/services/rundata/
JetspeedRunData.html#getJetspeedUser()
http://jakarta.apache.org/jetspeed/api/org/apache/jetspeed/om/security/Jetsp
eedUser.html
http://jakarta.apache.org/jetspeed/api/org/apache/jetspeed/services/security
/RoleManagement.html#getRoles(java.lang.String)

Iterator roles =
JetspeedRoleManagement.getRoles(rundata.getJetspeedUser().getUserName());

> -----Original Message-----
> From: Carlos Orrego [mailto:orrego@inflexa.com]
> Sent: Tuesday, October 15, 2002 6:12 PM
> To: Jetspeed User List
> Subject: User Role in Session??
>
>
> Hola señores,
>
> can i get the role(s) of a user from the rundata object in the session?
> if so how?
>
>
>
> Carlos Orrego
> www.inflexa.com
>
> "Salve un árbol. No imprima."
> "Save a tree. Do not print."
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>