---
schema_version: "1"
id: 6f1c81d6ed641cc0d5e1f16595ae08133030d1a0ec3121ac996dcfa5dc0c490f
title: isOrgPreferenceEnabled(orgId, orgPreference)
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/financial_services_cloud_object_reference/apex_fschousehold_FSCPlansAndGoalsUtil_isOrgPreferenceEnabled.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/apex_fschousehold_FSCPlansAndGoalsUtil_isOrgPreferenceEnabled.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 250bddc076a0d0fccb89d7e20ff3fa7baa0bba76e5427caf9e16b57516bb1467
description: This method accepts Org ID and Org Preference values and returns true if the preference or permission is enabled in the org.
---
# 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](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

The ID of the org.

orgPreference

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

The name of the org preference or permission.

## Return Value

Type: Boolean

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