角色判断

 if (SecurityContext.User.IsInRole("修改会议室申请信息") || SecurityContext.User.Id==biz.LoginID)

  {

     this.btnSave.Visible = true;

    }

 

 

posted @ 2013-11-26 23:13  weifb  阅读(76)  评论(0)    收藏  举报