控件权限管理思路

一、编写判断用户角色相关的类及方法。html protected bool ShowButtonBasedOnRole(string RoleOfInterest) {       return User.IsInRole(RoleOfInterest);   }post   二、经过调用相关方法控制控件的显示与否、能不能使用。rest   <asp:Button ID="Button1" run
相关文章
相关标签/搜索