Class DnnAuthorizeAttribute
Inheritance
System.Object
DnnAuthorizeAttribute
Implements
IAuthorizationFilter
Assembly: DotNetNuke.Web.Mvc.dll
Syntax
public class DnnAuthorizeAttribute : AuthorizeAttributeBase
Properties
|
Improve this Doc
View Source
DenyRoles
Gets or sets the denied roles (separated by comma).
Declaration
public string DenyRoles { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
StaticRoles
Gets or sets the authorized roles (separated by comma).
Declaration
public string StaticRoles { 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
|
Improve this Doc
View Source
GetCurrentUser()
Declaration
protected virtual UserInfo GetCurrentUser()
Returns
| Type |
Description |
| UserInfo |
|
|
Improve this Doc
View Source
IsAuthenticated()
Declaration
protected virtual bool IsAuthenticated()
Returns
| Type |
Description |
| System.Boolean |
|
Implements
IAuthorizationFilter
Extension Methods