Exemple #1
0
 public static bool GrantStandardPersonnelRights(string userId)
 {
     using (UserRightsProvider p = new UserRightsProvider())
     {
         p.GrantStandardPersonnel(userId);
     }
     return(true);
 }
Exemple #2
0
 public static bool GrantOrganizationRights(string userId)
 {
     using (UserRightsProvider p = new UserRightsProvider())
     {
         p.GrantOrganization(userId);
     }
     return(true);
 }
Exemple #3
0
        public static string GetUserInfo(string account)
        {
            string userInfo = UserRightsProvider.GetUserInfo(account);

            return(userInfo);
        }
Exemple #4
0
        public static string GetAppRights(string account)
        {
            string appRights = UserRightsProvider.GetAppRights(account);

            return(appRights);
        }