Exemple #1
0
        public string GetAllAuth(int userid)
        {
            AuthorityService service = new AuthorityService();

            service.GetAuthorities(userid);


            return("");
        }
Exemple #2
0
        public string GetUserAuthority(int userid, string port)
        {
            AuthorityService authority = new AuthorityService();
            var            auth        = authority.GetUserAuth(userid.ToString(), port);
            TreeNodeHelper tNH         = new TreeNodeHelper();
            string         str         = tNH.InitTreeNode_json(auth, 0, false);

            return(str);
        }