Get Started
getOrganizationId()
getPicklist(objectName, fieldName)
isOrgPreferenceEnabled(orgId, orgPreference)
Custom Triggers
Custom Validation Rules
DPE and Monitor Workflow Services
API End-of-Life Policy
Previous Versions
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)
Type: String
The ID of the org.
Type: String
The name of the org preference or permission.
Type: Boolean
Returns true if the preference or permission is enabled in the org.