public static bool GrantStandardPersonnelRights(string userId) { using (UserRightsProvider p = new UserRightsProvider()) { p.GrantStandardPersonnel(userId); } return(true); }
public static bool GrantOrganizationRights(string userId) { using (UserRightsProvider p = new UserRightsProvider()) { p.GrantOrganization(userId); } return(true); }
public static string GetUserInfo(string account) { string userInfo = UserRightsProvider.GetUserInfo(account); return(userInfo); }
public static string GetAppRights(string account) { string appRights = UserRightsProvider.GetAppRights(account); return(appRights); }