how to get the role of an user?

C

Chris

Hi,

i want to get the role of an logged user.
All i found is the function InRole, but it doesn't give the role of the
user.

dim rl as rolegroep
rl = user.InRole( ...

Thanks
Chris
 
M

Michael Nemtsev

Hello Chris,

http://aspalliance.com/articleViewer.aspx?aId=553&pId=2
the method GetRoles

---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

C> Hi,
C>
C> i want to get the role of an logged user.
C> All i found is the function InRole, but it doesn't give the role of
C> the
C> user.
C> dim rl as rolegroep
C> rl = user.InRole( ...
C> Thanks
C> Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top