isOrgPreferenceEnabled(orgId, orgPreference)
This method accepts Org ID and Org Preference values and returns true if the preference or permission is enabled in the org.
60.0
public static Boolean IsOrgPreferenceEnabled(String orgId, String orgPreference)
- orgId
Type: String
The ID of the org.
- orgPreference
Type: String
The name of the org preference or permission.
Type: Boolean
Returns true if the preference or permission is enabled in the org.