API for getting user role from Profile object?

Hi,

I have a JSP running on the same web server as the portal server but not

running within the portal desktop (it is a stand-alone JSP).

I have successfully gotten the user's Profile object via the Session object

and I can get the Hashmap of attributes.

What I'm trying to get now is the user's domain and role -- is there any way

I can get this? I don't see these in the list of attributes. Is there an

API to find this out? Any suggestions on how I can obtain this info

programmatically?

Thanks

[569 byte] By [] at [2007-11-25 4:29:24]
# 1

I am trying to do something similar my call to Session.getSession generates

the following exception:

com.iplanet.portalserver.session.SessionException: Can't find resource for

base name iwtNaming, locale en_US

Can you help?

Thanks?

"Marshall Levin" <mlevin@zefer.com> wrote in message

news:9ljs3s$fua3@secnews.netscape.com...

> Hi,

>

> I have a JSP running on the same web server as the portal server but not

> running within the portal desktop (it is a stand-alone JSP).

>

> I have successfully gotten the user's Profile object via the Session

object

> and I can get the Hashmap of attributes.

>

> What I'm trying to get now is the user's domain and role -- is there any

way

> I can get this? I don't see these in the list of attributes. Is there an

> API to find this out? Any suggestions on how I can obtain this info

> programmatically?

>

> Thanks

>

>

at 2007-6-29 2:32:29 > top of Java-index,Web & Directory Servers,Portal Servers...