cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in fetching assigned Portal Roles for a User

Former Member
0 Kudos

Hi Experts,

I have a following issue.

I am using the following code to fetch the assigned Portal Roles for a user.

String City = User.getCity();

is returning me the right value

But for fetching of the assigned roles

Iterator Itr = User.getRoles(true);

IRole role = (IRole)Itr.next();

is throwing some exception . Am I performing something wrong in the above statement?

My requirement is to fetch the assigned roles for a user.

Best Regards,

Roby ..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please go through [this|; link.

Regards,

Satyajit.

Former Member
0 Kudos

THANKS ALOT ... awesome link ..

Roby ..

Answers (0)