Newer Version Available

This content describes an older version of this product. View Latest

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.

API Version

60.0

Signature

public static Boolean IsOrgPreferenceEnabled(String orgId, String orgPreference)

Parameters

orgId
Type: String
The ID of the org.
orgPreference
Type: String
The name of the org preference or permission.

Return Value

Type: Boolean

Returns true if the preference or permission is enabled in the org.