Check if user is in Role
I need to check if a user with a certain username is in a specific
This is not the current user which is logged on.
How can I do this?
Re: Check if user is in Role
If your using the membership api, the Roles class has a IsUserInRole method
to do exactly this. It has an overload which takes two parameters, the first
being the username and the second being the role in question.
Hope this helps,
Former Microsoft FrontPage MVP 199?-2006
"shapper" <firstname.lastname@example.org> wrote in message
> I need to check if a user with a certain username is in a specific
> This is not the current user which is logged on.
> How can I do this?
|All times are GMT. The time now is 03:40 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.