Let's say I have a class like this:
public class CustomAuthorizeAttribute : AuthorizeAttribute
{
protected override bool AuthorizeCore(HttpContextBase httpContext)
{
return string.IsNullOrEmpty(Roles)
? base.AuthorizeCore(httpContext)
: IsUserInRole(Roles);
}
public static bool IsUserInRole(string...