• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class DnnModuleAuthorizeAttribute

Inheritance
System.Object
AuthorizeAttributeBase
DnnModuleAuthorizeAttribute
Implements
IAuthorizationFilter
Inherited Members
AuthorizeAttributeBase.IsAnonymousAttributePresent(AuthorizationContext)
AuthorizeAttributeBase.HandleAuthorizedRequest(AuthorizationContext)
AuthorizeAttributeBase.HandleUnauthorizedRequest(AuthorizationContext)
AuthorizeAttributeBase.OnCacheAuthorization(HttpContextBase)
AuthorizeAttributeBase.SkipAuthorization(AuthorizationContext)
Namespace: DotNetNuke.Web.Mvc.Framework.ActionFilters
Assembly: DotNetNuke.Web.Mvc.dll
Syntax
public class DnnModuleAuthorizeAttribute : AuthorizeAttributeBase

Constructors

| Improve this Doc View Source

DnnModuleAuthorizeAttribute()

Declaration
public DnnModuleAuthorizeAttribute()

Properties

| Improve this Doc View Source

AccessLevel

Declaration
public SecurityAccessLevel AccessLevel { get; set; }
Property Value
Type Description
SecurityAccessLevel
| Improve this Doc View Source

PermissionKey

Declaration
public string PermissionKey { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

AuthorizeCore(HttpContextBase)

Declaration
protected override bool AuthorizeCore(HttpContextBase httpContext)
Parameters
Type Name Description
HttpContextBase httpContext
Returns
Type Description
System.Boolean
Overrides
AuthorizeAttributeBase.AuthorizeCore(HttpContextBase)
| Improve this Doc View Source

HasModuleAccess()

Declaration
protected virtual bool HasModuleAccess()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

OnAuthorization(AuthorizationContext)

Declaration
public override void OnAuthorization(AuthorizationContext filterContext)
Parameters
Type Name Description
AuthorizationContext filterContext
Overrides
AuthorizeAttributeBase.OnAuthorization(AuthorizationContext)

Implements

IAuthorizationFilter

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS