Download Developer Guide: BlackBerry Object API Applications
Transcript
Client Object API Usage PwdPolicy_Has_Special Indicates if the password must contain at least one special character. A special character is a character in the set "~!@#$%^&*()-+". Syntax ConnectionPropertyType PwdPolicy_Has_Special Parameters None. Returns Returns true if the password must contain at least one special character. Examples • PwdPolicy_Has_Special java.lang.Boolean has_special = appSettings.getBooleanProperty(ConnectionPropertyType.PwdPolicy_H as_Special); PwdPolicy_Expires_In_N_Days Specifies the number of days in which the password expires from the date of setting the password. Syntax ConnectionPropertyType PwdPolicy_Expires_In_N_Days Parameters None. Returns Returns an integer value for the number of days in which the password expires. Examples • PwdPolicy_Expires_In_N_Days java.lang.Integer expires_in_n_days = appSettings.getIntegerProperty(ConnectionPropertyType.PwdPolicy_E xpires_In_N_Days); 104 SAP Mobile Platform