C# Class Simplify.Web.Meta.ControllerSecurity

Provides controller security information
Exibir arquivo Open project: i4004/Simplify.Web Class Usage Examples

Public Methods

Method Description
ControllerSecurity ( bool isAuthorizationRequired = false, IEnumerable requiredUserRoles = null ) : System.Collections.Generic

Initializes a new instance of the ControllerSecurity class.

Method Details

ControllerSecurity() public method

Initializes a new instance of the ControllerSecurity class.
public ControllerSecurity ( bool isAuthorizationRequired = false, IEnumerable requiredUserRoles = null ) : System.Collections.Generic
isAuthorizationRequired bool if set to true then indicates whether controller requires user authorization.
requiredUserRoles IEnumerable The required user roles.
return System.Collections.Generic