コード例 #1
0
        public static int GetMaxEmailsForTrial(LoginUser loginUser, int organizationID)
        {
            int maxEmails = 5;

            int.TryParse(OrganizationSettings.ReadString(loginUser, organizationID, "Emails_MaxForTrial", "50"), out maxEmails);
            return(maxEmails);
        }
コード例 #2
0
 public static bool GetIsTrialLimited(LoginUser loginUser, int organizationID)
 {
     return(OrganizationSettings.ReadString(loginUser, organizationID, "Emails_TrialLimited", "1") == "1");
 }