HttpContext.Current.User.IsInRole

From: Julia (Julia_at_discussions.microsoft.com)
Date: 04/06/05


Date: Wed, 6 Apr 2005 07:33:02 -0700

Hi,
I have a problem when I am using the HttpContext.Current.User.IsInRole...

This is my code:
if (HttpContext.Current.User.IsInRole("Admin advanced")) {
...
...
}

Admin advanced is a group in my AD. I think
HttpContext.Current.User.IsInRole cant handle the white space... Is that so
and how can I solve this problem?

Thank
/julia