Exemplo n.º 1
0
        /// <summary>
        /// 用户列表
        /// </summary>
        public void BindUserTreeData()
        {
            TreeNode root = new TreeNode();

            root.Text  = "角色列表";
            root.Value = "0";
            root.ChildNodes.AddReage(AspNetHelper.GetRoleTreeNote(this.CurrentOperatorUser,
                                                                  this.RolePlugService.GetRoles(this.CurrentOperatorUser))
                                     .ToList());
            tvUser.Nodes.Add(root);
        }