C# Class Machete.Web.Helpers.IsInRoleHelper

显示文件 Open project: SavageLearning/Machete

Public Methods

Method Description
IsInRole ( this instance ) : bool
IsRoleAllowed ( this instance, string functionality ) : bool

Method Details

IsInRole() public static method

public static IsInRole ( this instance ) : bool
instance this
return bool

IsRoleAllowed() public static method

public static IsRoleAllowed ( this instance, string functionality ) : bool
instance this
functionality string
return bool