using JYSoft.Platform.Security.Framework;
using JYSoft.Platform.Security;
namespace PlatformTest
{
public class WebForm1 : System.Web.UI.Page
{
//permissionidentity 许可身份字符串
private const string strValidate = "JYSoft.DTMIS.WebUI.FuncPages.NotesManage.RequisitionAuditing1.";
private void Page_Load(object sender, System.EventArgs e)
{
if(JYSoft.Platform.Security.Framework.AuthorizeService.AuthorizeUIMethod(strValidate))
{}
else
{}
}
Web 窗体设计器生成的代码
}
}
using JYSoft.Platform.Security;
namespace PlatformTest
{
public class WebForm1 : System.Web.UI.Page
{
//permissionidentity 许可身份字符串
private const string strValidate = "JYSoft.DTMIS.WebUI.FuncPages.NotesManage.RequisitionAuditing1.";
private void Page_Load(object sender, System.EventArgs e)
{
if(JYSoft.Platform.Security.Framework.AuthorizeService.AuthorizeUIMethod(strValidate))
{}
else
{}
}
Web 窗体设计器生成的代码
}
}