private void Build(TreeNode node, AuthRole role)
 {
     node.Text        = role.RoleName;
     node.Tag         = role;
     node.ToolTipText = role.Description;
     node.Checked     = mRole.HasRole(role, false);
 }
Ejemplo n.º 2
0
 public bool ContainsRole(AuthRole role, bool recursive)
 {
     return(mDataProxy.HasRole(role, recursive));
 }