---
schema_version: "1"
id: 3790874c05d6dde06d0f5a46363dc3477e7ff3c3039365ceeea05ad7a64ac3b9
title: Organization
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_organization.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_organization.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ce0e0a1496be612561a30e821e350536a2c65f1cce53a591d37dc9d955383998
description: Represents key configuration information for an organization.
---
# Organization

Represents key configuration information for an organization.

Executing a SOQL SELECT query returns the value of fields in this object, but no value is visible for some of the fields.

## Supported Calls

describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update()

## Special Access Rules

Customer Portal users can't access this object.

## Fields

| Field | Details |
| --- | --- |
| Address (beta) | 
Type

address

Properties

Filter, Nillable

Description

The compound form of the address. Read-only. See [Address Compound Fields](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/compound_fields_address.htm "Standard addresses—addresses built into standard objects in Salesforce—are accessible in the SOAP API and REST API as an Address, a structured compound data type, as well as individual address elements. If you enabled Custom Address Fields, you can also add custom fields that mimic the standard address field behavior.") for details on compound address fields.



 |
| AllowsSelfServiceLogin | 

Type

boolean

Properties

Defaulted on create, Filter, Update

Description

Indicates whether the organization allows Self-Service login (true) or not (false).



 |
| City | 

Type

string

Properties

Filter, Group, Nillable, Sort, Update

Description

Name of the city for the organization's address.



 |
| ComplianceBccEmail | 

Type

email

Properties

Filter, Group, Nillable, Sort

Description

Email address for compliance blind carbon copies. Limit: 80 characters.



 |
| Country | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Name of the country for the organization's address. Limit: 80 characters.



 |
| CountryCode | 

Type

picklist

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The ISO country code for the organization’s address. Enable state and country/territory picklists to use this field. For more information, see [Enable and Disable State and Country/Territory Picklists](https://help.salesforce.com/s/articleView?id=xcloud.admin_state_country_picklist_enable.htm&type=5&language=en_US "HTML (New Window)") in Salesforce Help.



 |
| DailyWebToCaseCount | 

Type

int

Properties

Filter, Nillable

Description

The number of web form submissions that have been converted to cases for the day.



 |
| DailyWebToCaseLimit | 

Type

int

Properties

Filter, Nillable

Description

The maximum number of web form submissions that can be converted to cases per day.



 |
| DailyWebToLeadCount | 

Type

int

Properties

Filter, Nillable

Description

The number of web form submission that have been converted to leads for the day



 |
| DailyWebToLeadLimit | 

Type

int

Properties

Filter, Nillable

Description

The maximum number of web form submissions that can be converted to leads per day.



 |
| DefaultAccountAccess | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

In API version 10.0 and later, represents the default access level for accounts, contracts, and assets. The possible values are:

- None
- Read
- Edit
- ControlledByLeadOrContact
- ControlledByCampaign

In versions before 10.0, DefaultAccountAndContactAccess represented this value.



 |
| DefaultAccountAndContactAccess | 

Type

picklist

Properties

Filter, Nillable, Restricted picklist

Description

Default access level for accounts, contacts, contracts, and assets. This field is supported for backward compatibility only and is not available in API version 10.0 or later. In version 10.0 and later, use either DefaultAccountAccess or DefaultContactAccess.



 |
| DefaultCalendarAccess | 

Type

picklist

Properties

Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort

Description

Default access level for calendars. The possible values are listed, followed by the user interface labels in parentheses:

- HideDetails (Hide Details)
- HideDetailsInsert (Hide Details and Add Events)
- ShowDetails (Show Details)
- ShowDetailsInsert (Show Details and Add Events)
- AllowEdits (Full Access)





 |
| DefaultCampaignAccess | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Default access level for campaigns. The possible values are:

- None
- Read
- Edit
- All





 |
| DefaultCaseAccess | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Default access level for cases. The possible values are:

- None
- Read
- Edit
- ReadEditTransfer





 |
| DefaultContactAccess | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Default access level for contacts. The possible values are:

- None
- Read
- Edit
- ControlledByParent

In versions before 10.0, DefaultAccountAndContactAccess represented this value.

When DefaultContactAccess is set to “Controlled by Parent,” you can’t update the ContactAccessLevel field.



 |
| DefaultLeadAccess | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Default access level for leads. The possible values are:

- NoneRead
- Edit
- ReadEditTransfer





 |
| DefaultLocaleSidKey | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort, Update

Description

Default locale SID key. For more information on picklist options, see [Supported Number, Name, and Address Formats (ICU)](https://help.salesforce.com/s/articleView?id=xcloud.admin_supported_locales.htm&language=en_US) in Salesforce help.



 |
| DefaultOpportunityAccess | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Default access level for opportunities. The possible values are:

- None
- Read
- Edit
- ControlledByLeadOrContact
- ControlledByCampaign





 |
| DefaultPricebookAccess | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Default access level for price books. The possible values are listed, followed by the user interface labels in parentheses:

- None (No access)
- Read (Read only)
- ReadSelect (Use)





 |
| DefaultTerritoryCaseAccess | 

Type

picklist

Properties

Filter, Group, Nillable, Sort

Description

Default access level for cases associated with accounts in territories. The possible values are:

- None
- Read
- Edit
- ControlledByLeadOrContact
- ControlledByCampaign





 |
| DefaultTerritoryContactAccess | 

Type

picklist

Properties

Filter, Group, Nillable, Sort

Description

Default access level for contacts associated with accounts in territories. The possible values are:

- NoneRead
- Edit
- ControlledByLeadOrContact
- ControlledByCampaign

When DefaultContactAccess is set to “Controlled by Parent” you can’t update this field.



 |
| DefaultTerritoryOppAccess | 

Type

picklist

Properties

Filter, Group, Nillable, Sort

Description

Default access level for opportunities in territories.

Valid values:

- NoneRead
- Edit
- ControlledByLeadOrContact
- ControlledByCampaign





 |
| Division | 

Type

string

Properties

Filter, Group, Nillable, Sort, Update

Description

The name of the division for this organization. This field is not related to the Division object.



 |
| Fax | 

Type

phone

Properties

Filter, Group, Nillable, Sort, Update

Description

Fax number. Limit: 40 characters.



 |
| FiscalYearStartMonth | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

Number that corresponds to the month that this organization's fiscal year starts.



 |
| HomepageHtml | 

Type

textarea

Properties

Nillable, Update

Description

The Home tab custom links and company message for this organization.



 |
| InstanceName | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Read-only. The name of the instance. Available in API version 31.0 or later.



 |
| IsSandbox | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Read-only. Indicates whether the current organization is a sandbox (true) or production (false) instance. Available in API version 31.0 or later.



 |
| LanguageLocaleKey | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort, Update

Description

The same as Language, the two-to-five character code which represents the language and locale ISO code. This controls the language for labels displayed in an application.



 |
| LastWebToCaseDate | 

Type

dateTime

Properties

Filter, Nillable

Description

The last date that a web form submission was converted to a case.



 |
| LastWebToLeadDate | 

Type

dateTime

Properties

Filter, Nillable

Description

The last date that a web form submission was converted to a lead.



 |
| Latitude | 

Type

double

Properties

Filter, Nillable, Sort, Update

Description

Used with Longitude to specify the precise geolocation of an address. Acceptable values are numbers between –90 and 90 up to 15 decimal places. For details on geolocation compound fields, see [Compound Field Considerations and Limitations](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/compound_fields_limitations.htm#compound_fields_limitations "Address and geolocation compound fields are convenient and result in more concise, clear code. Here are some things to consider when using them in your apps.").



 |
| Longitude | 

Type

double

Properties

Filter, Nillable, Sort, Update

Description

Used with Latitude to specify the precise geolocation of an address. Acceptable values are numbers between –180 and 180 up to 15 decimal places. For details on geolocation compound fields, see [Compound Field Considerations and Limitations](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/compound_fields_limitations.htm#compound_fields_limitations "Address and geolocation compound fields are convenient and result in more concise, clear code. Here are some things to consider when using them in your apps.").



 |
| MaxActionsPerRule | 

Type

int

Properties

Filter, Nillable

Description

Maximum number of actions per workflow, assignment, escalation, and auto-response rules. This field is unavailable in version 15.0 and later.



 |
| MaxRulesPerEntity | 

Type

int

Properties

Filter, Nillable

Description

Maximum number of rules per object, inclusive of workflow, assignment, escalation, and auto-response rules. This field is unavailable in version 15.0 and later.



 |
| MonthlyPageViewsEntitlement | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

The number of page views allowed for the current calendar month for the sites in your organization. To access this field, Salesforce Sites must be enabled for your organization. This field is generally available in API versions 18.0 and later.



 |
| MonthlyPageViewsUsed | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

The number of page views used in the current calendar month for the sites in your organization. To access this field, Salesforce Sites must be enabled for your organization. This field is generally available in API versions 18.0 and later.



 |
| Name | 

Type

string

Properties

Filter, Group, idLookup, Sort, Update

Description

The name of the organization.



 |
| NamespacePrefix | 

Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

The namespace prefix that is associated with this object. Each Developer Edition org that creates a managed package has a unique namespace prefix. Limit: 15 characters. You can refer to a component in a managed package by using the namespacePrefix\_\_componentName notation.

The namespace prefix can have one of the following values.

- In Developer Edition orgs, NamespacePrefix is set to the namespace prefix of the org for all objects that support it, unless an object is in an installed managed package. In that case, the object has the namespace prefix of the installed managed package. This field’s value is the namespace prefix of the Developer Edition org of the package developer.
- In orgs that are not Developer Edition orgs, NamespacePrefix is set only for objects that are part of an installed managed package. All other objects have no namespace prefix.





 |
| OrganizationType | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Edition of the organization, for example Enterprise Edition or Unlimited Edition.



 |
| Phone | 

Type

phone

Properties

Filter, Group, Nillable, Sort, Update

Description

Phone number for the organization.



 |
| PostalCode | 

Type

string

Properties

Filter, Group, Nillable, Sort, Update

Description

Postal code for the address of the organization. Limit: 20 characters.



 |
| PreferencesEventScheduler | 

Type

boolean

Properties

Update

Description

Indicates whether opportunities require products (true) or not (false).



 |
| PreferencesPublicSectorTaxRevEnabled | 

Type

boolean

Properties

Filter, Update

Description

Indicates whether Public Sector Tax and Revenue Management is enabled for all users in your organization (true) or is disabled for all users (false).

This field is available in API version 68.0 or later.





 |
| PreferencesRequireOpportunityProducts | 

Type

boolean

Properties

Filter, Update

Description

Indicates whether opportunities require products (true) or not (false).



 |
| PreferencesS1BrowserEnabled | 

Type

boolean

Properties

Filter, Update

Description

Indicates whether the Salesforce mobile web is enabled for all users in your organization (true) or is disabled for all users (false).

This field is available in API version 29.0 or later.





 |
| PreferencesTerminateOldestSession | 

Type

boolean

Properties

Filter, Update

Description

Indicates whether the oldest login session is automatically closed when a policy specifying the maximum number of sessions is triggered.

This field is available in API version 35.0 — 49.0. As of API version 50.0, this field is removed.





 |
| PreferencesTransactionSecurityPolicy | 

Type

boolean

Properties

Filter, Update

Description

Indicates whether the Transaction Security feature has been enabled.

This field is available in API version 35.0 — 49.0. As of API version 50.0, this field is removed.





 |
| PrimaryContact | 

Type

string

Properties

Filter, Group, Nillable, Sort, Update

Description

Name of the primary contact for the organization. Limit: 80 characters.



 |
| ReceivesAdminInfoEmails | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort, Update

Description

Indicates whether the organization receives administrator emails (true) or not (false).



 |
| ReceivesInfoEmails | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort, Update

Description

Indicates whether the organization receives informational email from Salesforce (true) or not (false).



 |
| SelfServiceCasePlural | 

Type

string

Properties

Filter, Nillable, Update

Description

The plural version of the term used to represent the Case object in the Self-Service portal.



 |
| SelfServiceCaseSingle | 

Type

string

Properties

Filter, Nillable, Update

Description

The singular version of the term used to represent the Case object in the Self-Service portal.



 |
| SelfServiceCaseSubmitRecordTypeId | 

Type

reference

Properties

Filter, Nillable, Update

Description

The ID of the record type associated with a case submitted via the Self-Service portal.



 |
| SelfServicDefaultCaseOrigin | 

Type

string

Properties

Filter, Nillable, Update

Description

The default origin of a case submitted via the Self-Service portal.



 |
| SelfServiceEmailSenderAddress | 

Type

email

Properties

Filter, Nillable, Update

Description

The Self-Service email address from which new Self-Service user and password email messages are sent, such as support@acme.com.



 |
| SelfServiceEmailSenderName | 

Type

string

Properties

Filter, Nillable, Update

Description

The name associated with the email address in the SelfServiceEmailSenderAddress field, such as Acme Customer Support.



 |
| SelfServiceEmailUserOnCaseCreation‍TemplateId | 

Type

reference

Properties

Filter, Nillable, Update

Description

The ID of the email template used when email is sent to a Self-Service user when he or she creates a case.



 |
| SelfServiceEnabledForResponseRules | 

Type

boolean

Properties

Filter, Nillable, Update

Description

Indicates whether the Self-Service portal is enabled for auto-response rules (true) or not (false).



 |
| SelfServiceFeatureConfig | 

Type

int

Properties

Filter, Nillable, Update

Description

An integer representing the active Self-Service feature configuration for this organization.



 |
| SelfServiceLogoutUrl | 

Type

url

Properties

Filter, Nillable, Update

Description

The Web page that displays when a Self-Service user logs out of the Self-Service portal.



 |
| SelfServiceMaxNumSuggestions | 

Type

int

Properties

Filter, Nillable, Update

Description

The maximum number of suggested solutions allowed for a Self-Service case.



 |
| SelfServiceNewCommentCheckedByDefault | 

Type

boolean

Properties

Defaulted on create, Filter, Update

Description

If true, When a customer notification is automatically sent when a new comment is added to a case.



 |
| SelfServiceNewCommentTemplateId | 

Type

reference

Properties

Filter, Nillable, Update

Description

The ID of the email template used to send a notification to Self-Service users when a public comment is added to one of their cases.



 |
| SelfServiceNewPassTemplateId | 

Type

reference

Properties

Filter, Nillable, Update

Description

The ID of the email template used when new passwords are generated for Self-Service users.



 |
| SelfServiceNewUserTemplateId | 

Type

reference

Properties

Filter, Nillable, Update

Description

The ID of the email template used when new Self-Service users are enabled.



 |
| SelfServicePageHeight | 

Type

int

Properties

Filter, Nillable, Update

Description

The maximum height in pixels of Self-Service pages.



 |
| SelfServicePageWidth | 

Type

int

Properties

Filter, Nillable, Update

Description

The maximum width in pixels of Self-Service pages.



 |
| SelfServiceSelfClosedCaseStatus | 

Type

picklist

Properties

Filter, Nillable, Update

Description

The default status for cases closed by Self-Service users.



 |
| SelfServiceSolutionCategoryAvailable | 

Type

boolean

Properties

Defaulted on create, Filter, Update

Description

Indicates whether solution categories are available in the Self-Service portal (true) or not (false).



 |
| SelfServiceSolutionCategoryStartNodeId | 

Type

reference

Properties

Filter, Nillable, Update

Description

The ID of the top-level category in the Self-Service portal.



 |
| SelfServiceSolutionPlural | 

Type

string

Properties

Filter, Nillable, Update

Description

The plural version of the term used to represent the Solution object in the Self-Service portal.



 |
| SelfServiceSolutionSingle | 

Type

string

Properties

Filter, Nillable, Update

Description

The singular version of the term used to represent the Solution object in the Self-Service portal.



 |
| SelfServiceStyleSheetUrl | 

Type

url

Properties

Filter, Nillable, Update

Description

The public URL of your organization's Self-Service portal stylesheet.



 |
| SelfServiceWelcomePageConfig | 

Type

int

Properties

Filter, Nillable, Update

Description

Integer that represents the welcome page configuration for the Self-Service portal.



 |
| SelfServiceWelcomeText | 

Type

string

Properties

Filter, Nillable, Update

Description

The custom welcome message displayed at the top of the Self-Service home page when Self-Service users log in. Limit: 32,000 characters.



 |
| SignupCountryIsoCode | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The ISO country code specified by the user for a sign-up request.



 |
| State | 

Type

string

Properties

Filter, Group, Nillable, Sort, Update

Description

State of the address of the organization. Limit: 80 characters.



 |
| StateCode | 

Type

picklist

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The ISO state code for the organization’s address.



 |
| Street | 

Type

textarea

Properties

Filter, Group, Nillable, Sort, Update

Description

Street address for the organization. Limit: 255 characters.



 |
| TrialExpirationDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date that this organization's trial license expires.



 |
| TimeZoneSidKey | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort, Update

Description

Identifies the default time zone of the organization.



 |
| UiSkin | 

Type

picklist

Properties

Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

The user interface theme selected for the organization.



 |
| UsesStartDateAsFiscalYearName | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Indicates whether the calendar year when the fiscal year begins is referred to as the year of the company's fiscal year (true) or not (false). For example, if the fiscal year begins in February 2006, a true value means the fiscal year is FY2006, and a false value means the fiscal year is FY2007.



 |
| UsesWebToCase | 

Type

boolean

Properties

Filter, Nillable, Update

Description

Indicates whether this organization can use Web-to-Case (true) or not (false).



 |
| UsesWebToLead | 

Type

boolean

Properties

Filter, Nillable, Update

Description

Indicates whether this organization can use Web-to-Lead (true) or not (false).



 |
| WebToCaseAssignedEmailTemplateId | 

Type

reference

Properties

Filter, Nillable, Update

Description

The ID of the email template used when a new case is assigned to a user via Web-to-Case.



 |
| WebToCaseCreatedEmailTemplateId | 

Type

reference

Properties

Filter, Nillable, Update

Description

The ID of the email template used when a new case is created via Web-to-Case.



 |
| WebToCaseDefaultCreatorId | 

Type

reference

Properties

Filter, Nillable, Update

Description

The ID of the user specified as the default creator of cases created via Web-to-Case.



 |
| WebToCaseDefaultOrigin | 

Type

string

Properties

Filter, Group, Nillable, Sort, Update

Description

The default value for the **Case Origin** field on cases submitted via Web-to-Case. Limit: 40 characters.



 |

## Usage

Query this object to obtain information about an organization's settings. Only one organization object exists per organization.

#### See Also

- [Overview of Salesforce Objects and Fields](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_concepts.htm "Salesforce objects and fields are analogous to database tables and the table columns. Objects and fields structure data. For example, the central object in the Salesforce data model represents accounts—companies and organizations involved with your business, such as customers, partners, and competitors.")