public static string GetAccessRightsCode() { string role = AccessRightsResolver.GetUpmostPrivilege(); switch (role) { case "Admin": return("a"); case "Member": return("a"); case "Guest": return(""); default: return(""); } }
public static string GetAccessRightsCode() { string role = AccessRightsResolver.GetUpmostPrivilege(); switch (role) { case "admin": return("a"); case "patron": return("a"); case "partner": return("a"); default: return(""); } }