---
schema_version: "1"
id: 45bb4fdf0fd38cfaf2637812c2ba31364432a7f719ae889102d2b79463d3976d
title: SecuritySettings
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_securitysettings.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_securitysettings.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9079b7be59b0beb666186587766cde7a3a68c36c3473879c08fbffe62b857507
description: Represents an org’s security settings. For example, settings define trusted IP ranges for network access, password and login requirements, session expiration, and single sign-on settings.
---
# SecuritySettings

Represents an org’s security settings. For example, settings define trusted IP ranges for network access, password and login requirements, session expiration, and single sign-on settings.

This type extends the [Metadata](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/metadata.htm "The base class for all metadata types. You can’t edit this object. A component is an instance of a metadata type.") metadata type and inherits its fullName field.

In the package manifest, all organization settings metadata types are accessed using the Settings name. See [Settings](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_settings.htm "Represents the organization settings related to a feature. For example, your password policies, session settings and network access controls are all available in the SecuritySettings component type.") for more details.

## File Suffix and Directory Location

SecuritySettings values are stored in a single file named Security.settings in the settings directory. The .settings files are different from other named components because there’s only one settings file for each settings component.

## Version

Security settings are available in API version 27.0 and later. API versions 26 and earlier are no longer available.

## Fields

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d842977e113">Field Name</th>

              <th class="featureTableHeader  " id="d842977e116">Field Type</th>

              <th class="featureTableHeader  " id="d842977e119">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d842977e113" data-title="Field Name"><span class="keyword parmname">canUsersGrantLoginAccess</span></td>

              <td class="entry" headers="d842977e116" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e119" data-title="Description">
                <p class="p">If <samp class="codeph nolang">true</samp>, users can grant
                  login access to Support. If <samp class="codeph nolang">false</samp>, only an admin can grant login access.</p>

                <p class="p">Users can’t grant login access to managed packages that are
                  licensed to your entire Salesforce org. Only admins with the
                  Manage Users permission enabled on their profiles can grant
                  access to these publishers. Also, some managed packages don’t
                  have login access. If a package isn’t listed on the Login Access
                  Policies page, login access isn’t available for that
                  package.</p>


              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e113" data-title="Field Name"><span class="keyword parmname">enableAdminLoginAsAnyUser</span></td>

              <td class="entry" headers="d842977e116" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e119" data-title="Description">
                <span class="ph" id="enableAdminLoginAsAnyUser"><a name="enableAdminLoginAsAnyUser"><!-- --></a>If <samp class="codeph nolang">true</samp>, the <strong class="ph uicontrol">Administrators Can Log in as
                    Any User</strong> field is enabled. </span>The default
                isn’t enabled (<samp class="codeph nolang">false</samp>).
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e113" data-title="Field Name"><span class="keyword parmname">enableAuditFieldsInactiveOwner</span></td>

              <td class="entry" headers="d842977e116" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e119" data-title="Description">If <samp class="codeph nolang">true</samp>, this setting
                enables audit fields and updating the owner for records that are
                owned by inactive users. The default value is <samp class="codeph nolang">false</samp>. This field is available in
                API version 47.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e113" data-title="Field Name"><span class="keyword parmname">enableAuraSecureEvalPref</span></td>

              <td class="entry" headers="d842977e116" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e119" data-title="Description">If <samp class="codeph nolang">true</samp>, this setting
                prevents the creation of function expressions in dynamically created
                Aura components. The default is <samp class="codeph nolang">false</samp>. This field is available in API version 47.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e113" data-title="Field Name"><span class="keyword parmname">enableCoepHeader</span></td>

              <td class="entry" headers="d842977e116" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e119" data-title="Description">Indicates whether the Cross-Origin Embedder Policy (COEP)
                response header is applied to this org’s custom Visualforce pages
                (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>). If <samp class="codeph nolang">true</samp>, externally sourced embedded
                content loads only when the external origin allows it via CORS or
                CORP. The default value is <samp class="codeph nolang">false</samp>.<p class="p">Available in API version 55.0 and
                  later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e113" data-title="Field Name"><span class="keyword parmname">enableCoopHeader</span></td>

              <td class="entry" headers="d842977e116" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e119" data-title="Description">Indicates whether the Cross-Origin Opener Policy (COOP) response
                header is applied to this org’s custom Visualforce pages (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>). If <samp class="codeph nolang">true</samp>, each custom Visualforce page
                opens in a new browsing context group. The default value is <samp class="codeph nolang">false</samp>.<p class="p">Available in API version
                  55.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e113" data-title="Field Name"><span class="keyword parmname">enableCrossOrgRedirects</span></td>

              <td class="entry" headers="d842977e116" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e119" data-title="Description">Indicates whether redirections to other Salesforce orgs are
                allowed (<samp class="codeph nolang">true</samp>) or blocked
                (<samp class="codeph nolang">false</samp>). In Summer ’24 and
                later, this field is always <samp class="codeph nolang">false</samp>.<p class="p">This setting applies to user redirections to
                  another Salesforce org via a direct link, a post-action URL, or
                  a post-login URL in Salesforce. An example of a direct link with
                  a redirection is <samp class="codeph html"><span class="tag">&lt;a</span>
                    <span class="attribute"> href=</span><span class="string">"/?startURL=</span><var class="keyword varname">targetUrl</var><span class="string">"&gt;</span><var class="keyword varname">linkText</var><span class="string">"&gt;</span><var class="keyword varname">linkText</var><span class="tag">&lt;/a</span>&gt;</samp>.
                  Post-action URLs and post-login URLs use a protected URL
                  redirect parameter, such as <samp class="codeph nolang">retURL</samp>, <samp class="codeph nolang">startURL</samp>, <samp class="codeph nolang">saveURL</samp>, <samp class="codeph nolang">cancelURL</samp>, and <samp class="codeph nolang">targetURL</samp>. Subsequent redirections can’t be
                  verified because they occur outside Salesforce.</p>
                <p class="p">To allow
                  cross-org redirections, add the URLs for the Salesforce orgs
                  that you own to <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_redirectwhitelisturl.htm" title="Represents a trusted URL that’s excluded from redirection restrictions when the redirectionWarning or redirectBlockModeEnabled field on the SessionSettings Metadata type is set to true. This type extends the Metadata metadata type and inherits its fullName field.">RedirectWhitelistUrl</a>.</p>
                <p class="p">Available in API version 59.0 to
                  60.0.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e113" data-title="Field Name"><span class="keyword parmname">enableGraphQLApiGuestUserAccess</span></td>

              <td class="entry" headers="d842977e116" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e119" data-title="Description">Indicates whether unauthenticated guest users can access GraphQL
                API (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>). The default value is
                <samp class="codeph nolang">false</samp>.<p class="p">Available in API
                  version 68.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e113" data-title="Field Name"><span class="keyword parmname">enablePermissionsPolicy</span></td>

              <td class="entry" headers="d842977e116" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e119" data-title="Description">Indicates whether the pages that Salesforce serves for this org
                include the <samp class="codeph nolang">Permissions-Policy</samp>
                HTTP header. This HTTP header controls access to browser features
                such as cameras and microphones. When this field is <samp class="codeph nolang">false</samp>, access to the browser
                features is always permitted. The default value is <samp class="codeph nolang">false</samp>.<p class="p">Available in API version
                  59.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e113" data-title="Field Name"><span class="keyword parmname">enableRequireHttpsConnection</span></td>

              <td class="entry" headers="d842977e116" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e119" data-title="Description">Deprecated in API version 47.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e113" data-title="Field Name"><span class="keyword parmname">grantCameraAccess</span></td>

              <td class="entry" headers="d842977e116" data-title="Field Type">PermissionsPolicy (<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a>)</td>

              <td class="entry" headers="d842977e119" data-title="Description">When <span class="keyword parmname">enablePermissionsPolicy</span> is <samp class="codeph nolang">true</samp>, indicates when apps and
                websites loaded from Salesforce can access the user’s
                camera.<p class="p">Possible values are:</p>
                <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">Always</samp>—All apps
                    and websites loaded from Salesforce can access the user’s
                    camera.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Never</samp>—No apps or
                    websites, including scripts from Salesforce domains, can
                    access the user’s camera.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">TrustedUrls</samp>—Only
                    <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_csptrustedsite.htm" title="Represents a trusted URL. For each CspTrustedSite component, you can specify Content Security Policy (CSP) directives and permissions policy directives. Each CSP directive allows Lightning components, third-party APIs, and WebSocket connections to access a resource type from the trusted URL. If the Permissions-Policy HTTP header is enabled, each permissions policy directive grants the trusted URL access to a browser feature. In API version 58.0 and earlier, CspTrustedSite components included only CSP directives and were referred to as CSP Trusted Sites.">CspTrustedSite</a>
                    entries with <span class="keyword parmname">canAccessCamera</span> set to
                    <samp class="codeph nolang">true</samp> can access the
                    user’s camera.
                  </li>

                </ul>
                <p class="p">If <span class="keyword parmname">enablePermissionsPolicy</span> is <samp class="codeph nolang">false</samp>, this field has no
                  effect.</p>
                <p class="p">This field is available in API version 59.0 and
                  later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e113" data-title="Field Name"><span class="keyword parmname">grantMicrophoneAccess</span></td>

              <td class="entry" headers="d842977e116" data-title="Field Type">Permissions Policy (<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a>)</td>

              <td class="entry" headers="d842977e119" data-title="Description">When <span class="keyword parmname">enablePermissionsPolicy</span> is <samp class="codeph nolang">true</samp>, indicates when apps and
                websites loaded from Salesforce can access the user’s
                microphone.<p class="p">Possible values are:</p>
                <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">Always</samp>—All apps
                    and websites loaded from Salesforce can access the user’s
                    microphone.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Never</samp>—No apps or
                    websites, including scripts from Salesforce domains, can
                    access the user’s microphone.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">TrustedUrls</samp>—Only
                    <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_csptrustedsite.htm" title="Represents a trusted URL. For each CspTrustedSite component, you can specify Content Security Policy (CSP) directives and permissions policy directives. Each CSP directive allows Lightning components, third-party APIs, and WebSocket connections to access a resource type from the trusted URL. If the Permissions-Policy HTTP header is enabled, each permissions policy directive grants the trusted URL access to a browser feature. In API version 58.0 and earlier, CspTrustedSite components included only CSP directives and were referred to as CSP Trusted Sites.">CspTrustedSite</a>
                    entries with <span class="keyword parmname">canAccessMicrophone</span> set to
                    <samp class="codeph nolang">true</samp> can access the
                    user’s microphone.
                  </li>

                </ul>
                <p class="p">If <span class="keyword parmname">enablePermissionsPolicy</span> is <samp class="codeph nolang">false</samp>, this field has no
                  effect.</p>
                <p class="p">This field is available in API version 59.0 and
                  later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e113" data-title="Field Name"><span class="keyword parmname">isTLSv12Required</span></td>

              <td class="entry" headers="d842977e116" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e119" data-title="Description">Indicates whether connections to or from your Salesforce org must
                use TLS 1.2 or higher (<samp class="codeph nolang">true</samp>) or
                not (<samp class="codeph nolang">false</samp>). This field has a
                default value of <samp class="codeph nolang">false</samp>. Removed
                in API version 51.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e113" data-title="Field Name"><span class="keyword parmname">isTLSv12RequiredCommunities</span></td>

              <td class="entry" headers="d842977e116" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e119" data-title="Description">Indicates whether connections with your Salesforce sites and
                portals or Experience Cloud sites must use TLS 1.2 or higher
                (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>). This field has a default
                value of <samp class="codeph nolang">false</samp>. Removed in API
                version 51.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e113" data-title="Field Name"><span class="keyword parmname" id="field_networkaccess"><a name="field_networkaccess"><!-- --></a>networkAccess</span></td>

              <td class="entry" headers="d842977e116" data-title="Field Type"><a class="xref" href="#SecuritySettingsNetworkAccess">NetworkAccess</a></td>

              <td class="entry" headers="d842977e119" data-title="Description"><span class="ph" id="trustedIPRange_descr"><a name="trustedIPRange_descr"><!-- --></a>The trusted IP address ranges from
                  which users can always log in without requiring computer
                  activation.</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e113" data-title="Field Name"><span class="keyword parmname" id="field_passwordpolicies"><a name="field_passwordpolicies"><!-- --></a>passwordPolicies</span></td>

              <td class="entry" headers="d842977e116" data-title="Field Type"><a class="xref" href="#SecuritySettingsPasswordPolicies">PasswordPolicies</a></td>

              <td class="entry" headers="d842977e119" data-title="Description"><span class="ph" id="passwordPolicies_descr"><a name="passwordPolicies_descr"><!-- --></a>The requirements for passwords
                  and logins, and assistance with retrieving forgotten
                  passwords.</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e113" data-title="Field Name"><span class="keyword parmname">sendCspForUncommonClients</span></td>

              <td class="entry" headers="d842977e116" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e119" data-title="Description">
                <p class="p">In rare cases, Salesforce can’t identify whether the requesting
                  app or specialized browser supports the <samp class="codeph nolang">Content-Security-Policy:
                    frame-ancestors</samp> HTTP header directive. In those
                  cases, this field indicates whether that directive is included
                  in (<samp class="codeph nolang">true</samp>) or omitted from
                  (<samp class="codeph nolang">false</samp>) the HTTP
                  response header for pages that Salesforce serves for this org.
                  The default value is <samp class="codeph nolang">false</samp>.</p>

                <p class="p">When <span class="keyword parmname">sendCspForUncommonClients</span> is <samp class="codeph nolang">true</samp>, users who access
                  Salesforce via an app or browser that doesn’t support the
                  <samp class="codeph nolang">Content-Security-Policy:
                    frame-ancestors</samp> HTTP header directive can
                  experience errors if that lack of support is unclear.
                </p>

                <p class="p">This field is available in API version 59.0 and later.</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e113" data-title="Field Name"><span class="keyword parmname" id="field_sessionsettings"><a name="field_sessionsettings"><!-- --></a>sessionSettings</span></td>

              <td class="entry" headers="d842977e116" data-title="Field Type"><a class="xref" href="#SecuritySettingsSessionSettings">SessionSettings</a></td>

              <td class="entry" headers="d842977e119" data-title="Description"><span class="ph" id="sessionSettings_descr"><a name="sessionSettings_descr"><!-- --></a>The settings for session
                  expiration and security.</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e113" data-title="Field Name"><span class="keyword parmname" id="field_singlesignonsettings"><a name="field_singlesignonsettings"><!-- --></a>singleSignOnSettings</span></td>

              <td class="entry" headers="d842977e116" data-title="Field Type"><a class="xref" href="#SecuritySettingsSingleSignOnSettings">SingleSignOnSettings</a></td>

              <td class="entry" headers="d842977e119" data-title="Description">The settings for single sign-on (SSO).</td>

            </tr>

          </tbody>

        </table>

## NetworkAccess

Represents your org’s trusted IP address ranges for network access.

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d842977e719">Field</th>

              <th class="featureTableHeader  " id="d842977e722">Field Type</th>

              <th class="featureTableHeader  " id="d842977e725">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d842977e719" data-title="Field"><span class="keyword parmname" id="field_ipranges"><a name="field_ipranges"><!-- --></a>ipRanges</span></td>

              <td class="entry" headers="d842977e722" data-title="Field Type">
                <a class="xref" href="#SecuritySettingsIpRanges">IpRange</a>[]
              </td>

              <td class="entry" headers="d842977e725" data-title="Description">The trusted IP address ranges from which users can always log in
                without requiring computer activation.<p class="p">To add an IP range, deploy
                  all existing IP ranges, including the one you want to add.
                  Otherwise, the existing IP ranges are replaced with the ones you
                  deploy. To remove all the IP ranges, leave the networkAccess
                  field blank (&lt;networkAccess&gt;&lt;/networkAccess&gt;).</p>
              </td>

            </tr>

          </tbody>

        </table>

## IpRange

Defines a range of trusted IP addresses for network access.

| Field | Field Type | Description |
| --- | --- | --- |
| description | string | The description of the trusted IP range. Use this field to identify the range, such as which corporate network corresponds to this range. Available in API version 34.0 and later. |
| end | string | The IP address that defines the high end of a range of trusted addresses. |
| start | string | The IP address that defines the low end of a range of trusted addresses. |

## PasswordPolicies

Represents your org’s password and login policies, which show up under **Security Controls | Password Policies**.

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d842977e862">Field</th>

              <th class="featureTableHeader  " id="d842977e865">Field Type</th>

              <th class="featureTableHeader  " id="d842977e868">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d842977e862" data-title="Field"><span class="keyword parmname" id="field_alternativehomepage"><a name="field_alternativehomepage"><!-- --></a>apiOnlyUserHomePageURL</span></td>

              <td class="entry" headers="d842977e865" data-title="Field Type">string</td>

              <td class="entry" headers="d842977e868" data-title="Description"><span class="ph" id="alternativeHomePage_descr"><a name="alternativeHomePage_descr"><!-- --></a>The URL to which users with
                  the API Only User permission are redirected instead of the login
                  page.</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e862" data-title="Field"><span class="keyword parmname" id="field_complexity"><a name="field_complexity"><!-- --></a>complexity</span></td>

              <td class="entry" headers="d842977e865" data-title="Field Type">Complexity (enumeration of type string)</td>

              <td class="entry" headers="d842977e868" data-title="Description">
                <p class="p" id="complexity_descr"><a name="complexity_descr"><!-- --></a>The types of characters that must be used
                  in a user’s password. Valid values are:</p>

                <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">NoRestriction</samp>—Has no requirements and is
                    the least secure option.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">AlphaNumeric</samp>—The
                    default setting. Requires at least one alphabetic character
                    and one number. <span class="ph" id="default_value"><a name="default_value"><!-- --></a>This value is the
                      default value.</span>
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">SpecialCharacters</samp>—Requires at least one
                    alphabetic character, one number, and one of the following
                    characters: <kbd class="ph userinput">! " # $ % &amp; ' ( ) * + , - . / : ;
                      &lt; = &gt; ? @ [ \ ] ^ _ ` { | } ~</kbd>.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">UpperLowerCaseNumeric</samp>—Requires at least one
                    number, one uppercase letter, and one lowercase letter. This
                    value is available in API version 31.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">UpperLowerCaseNumericSpecialCharacters</samp>—Requires
                    at least one number, one uppercase letter, one lowercase
                    letter, and one of the following characters: <kbd class="ph userinput">! "
                      # $ % &amp; ' ( ) * + , - . / : ; &lt; = &gt; ? @ [ \ ] ^ _
                      ` { | } ~</kbd>. This value is available in API
                    version 31.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Any3UpperLowerCaseNumericSpecialCharacters</samp>—Requires
                    at least three of the following options: one number, one
                    uppercase letter, one lowercase letter, and one special
                    character (<kbd class="ph userinput">! " # $ % &amp; ' ( ) * + , - . / : ;
                      &lt; = &gt; ? @ [ \ ] ^ _ ` { | } ~</kbd>). This
                    value is available in API version 46.0 and later.
                  </li>

                </ul>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e862" data-title="Field"><span class="keyword parmname">enableSetPasswordInApi</span></td>

              <td class="entry" headers="d842977e865" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e868" data-title="Description">Deprecated in API version 51.0. Removed in API version
                52.0.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e862" data-title="Field"><span class="keyword parmname" id="field_expiration"><a name="field_expiration"><!-- --></a>expiration</span></td>

              <td class="entry" headers="d842977e865" data-title="Field Type">Expiration (enumeration of type string)</td>

              <td class="entry" headers="d842977e868" data-title="Description">
                <p class="p" id="expiration_descr"><a name="expiration_descr"><!-- --></a>The length of time until a user password
                  expires and must be changed. Valid values are:</p>

                <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Never</samp></li>

                  <li class="li"><samp class="codeph nolang">ThirtyDays</samp></li>

                  <li class="li"><samp class="codeph nolang">SixtyDays</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">NinetyDays</samp>. This value
                    is the default value.
                  </li>

                  <li class="li"><samp class="codeph nolang">SixMonths</samp></li>

                  <li class="li"><samp class="codeph nolang">OneYear</samp></li>

                </ul>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e862" data-title="Field"><span class="keyword parmname" id="field_historyrestriction"><a name="field_historyrestriction"><!-- --></a>historyRestriction</span></td>

              <td class="entry" headers="d842977e865" data-title="Field Type">string</td>

              <td class="entry" headers="d842977e868" data-title="Description">
                <span class="ph" id="historyRestriction_descr"><a name="historyRestriction_descr"><!-- --></a>The number of previous
                  passwords saved for users so that they must always reset a new,
                  unique password. Valid values are <samp class="codeph nolang">0</samp> through <samp class="codeph nolang">24</samp>
                  passwords remembered.</span> The maximum value of 24 applies to
                API version 31.0 and later. In earlier versions, the maximum value
                is 16. The default value is <samp class="codeph nolang">3</samp>.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e862" data-title="Field"><span class="keyword parmname" id="field_lockoutinterval"><a name="field_lockoutinterval"><!-- --></a>lockoutInterval</span></td>

              <td class="entry" headers="d842977e865" data-title="Field Type">LockoutInterval (enumeration of type string)</td>

              <td class="entry" headers="d842977e868" data-title="Description">
                <p class="p" id="lockoutInterval_descr"><a name="lockoutInterval_descr"><!-- --></a>The duration of the login lockout.
                  Valid values are:</p>

                <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">FifteenMinutes</samp>. This
                    value is the default value.
                  </li>

                  <li class="li"><samp class="codeph nolang">ThirtyMinutes</samp></li>

                  <li class="li"><samp class="codeph nolang">SixtyMinutes</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">Forever</samp> (must be reset
                    by admin)
                  </li>

                </ul>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e862" data-title="Field"><span class="keyword parmname" id="field_maxloginattempts"><a name="field_maxloginattempts"><!-- --></a>maxLoginAttempts</span></td>

              <td class="entry" headers="d842977e865" data-title="Field Type">MaxLoginAttempts (enumeration of type string)</td>

              <td class="entry" headers="d842977e868" data-title="Description">
                <p class="p" id="maxLoginAttempts_descr"><a name="maxLoginAttempts_descr"><!-- --></a>The number of login failures allowed
                  for a user before the user is locked out. Valid values are:</p>

                <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">NoLimit</samp></li>

                  <li class="li"><samp class="codeph nolang">ThreeAttempts</samp></li>

                  <li class="li"><samp class="codeph nolang">FiveAttempts</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">TenAttempts</samp>. This value
                    is the default value.
                  </li>

                </ul>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e862" data-title="Field"><span class="keyword parmname" id="field_minpasswordlength"><a name="field_minpasswordlength"><!-- --></a>minimumPasswordLength</span></td>

              <td class="entry" headers="d842977e865" data-title="Field Type"> string</td>

              <td class="entry" headers="d842977e868" data-title="Description">
                <p class="p" id="minPasswordLength_descr"><a name="minPasswordLength_descr"><!-- --></a>The minimum number of characters
                  required for a password. The number can contain from 5 to 50
                  characters (default is 8). Available in API version 35.0 and
                  later.</p>

                <p class="p">Before API version 35.0, specify minimum password length with the
                  enumeration <samp class="codeph nolang">minPasswordLength</samp>, with valid values <samp class="codeph nolang">FiveCharacters</samp>, <samp class="codeph nolang">EightCharacters</samp> (default),
                  <samp class="codeph nolang">TenCharacters</samp>, <samp class="codeph nolang">TwelveCharacters</samp> (API version
                  31.0 and later), and <samp class="codeph nolang">FifteenCharacters</samp> (API version 34.0 and
                  later).
                </p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e862" data-title="Field"><span class="keyword parmname">minimumPasswordLifetime</span></td>

              <td class="entry" headers="d842977e865" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e868" data-title="Description">
                <span class="ph" id="minPasswordLife_descr"><a name="minPasswordLife_descr"><!-- --></a>If <strong class="ph uicontrol">Require a minimum 1
                    day password lifetime</strong> is enabled (<samp class="codeph nolang">true</samp>), passwords can’t be
                  changed more than one time during a 24-hour period.</span> The
                default is <samp class="codeph nolang">false</samp>. Available in
                API version 31.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e862" data-title="Field">
                <span class="keyword parmname" id="obscureSecretAnswer"><a name="obscureSecretAnswer"><!-- --></a>obscureSecretAnswer</span>
              </td>

              <td class="entry" headers="d842977e865" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e868" data-title="Description">
                <span class="ph" id="obscureSecretAnswer_descr"><a name="obscureSecretAnswer_descr"><!-- --></a>If enabled (<samp class="codeph nolang">true</samp>), hide answers to security
                  questions as the user types. The default is <samp class="codeph nolang">false</samp>.</span>
                <p class="p">If your org uses
                  the Microsoft Input Method Editor (IME) with the input mode set
                  to Hiragana, when you type ASCII characters, they’re
                  converted in to Japanese characters in normal text fields.
                  However, the IME doesn’t work properly in fields with obscured
                  text. If your org’s users can’t properly enter their
                  passwords or other values after enabling this feature, disable
                  the feature.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e862" data-title="Field"><span class="keyword parmname" id="field_forgotpasswordmessage"><a name="field_forgotpasswordmessage"><!-- --></a>passwordAssistanceMessage</span></td>

              <td class="entry" headers="d842977e865" data-title="Field Type">string</td>

              <td class="entry" headers="d842977e868" data-title="Description"><span class="ph" id="forgotPasswordMessage_descr"><a name="forgotPasswordMessage_descr"><!-- --></a>The text that appears in the
                  Account Lockout email and at the bottom of the Confirm Identity
                  screen for users resetting their passwords.</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e862" data-title="Field"><span class="keyword parmname" id="field_forgotpasswordlink"><a name="field_forgotpasswordlink"><!-- --></a>passwordAssistanceURL</span></td>

              <td class="entry" headers="d842977e865" data-title="Field Type">string</td>

              <td class="entry" headers="d842977e868" data-title="Description"><span class="ph" id="forgotPasswordLink_descr"><a name="forgotPasswordLink_descr"><!-- --></a>The URL that users can click to
                  retrieve forgotten passwords.</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e862" data-title="Field"><span class="keyword parmname" id="field_questionrestriction"><a name="field_questionrestriction"><!-- --></a>questionRestriction</span></td>

              <td class="entry" headers="d842977e865" data-title="Field Type">QuestionRestriction (enumeration of type string)</td>

              <td class="entry" headers="d842977e868" data-title="Description">
                <p class="p" id="questionRestriction_descr"><a name="questionRestriction_descr"><!-- --></a>The restriction on whether the
                  answer to the password hint question can contain the password
                  itself. Valid values are:</p>

                <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">None</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">DoesNotContainPassword</samp>.
                    This value is the default value.
                  </li>

                </ul>

              </td>

            </tr>

          </tbody>

        </table>

## SessionSettings

Represents your org’s session expiration and security settings.

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d842977e1274">Field</th>

              <th class="featureTableHeader  " id="d842977e1277">Field Type</th>

              <th class="featureTableHeader  " id="d842977e1280">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">allowUserAuthenticationByCertificate</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">If enabled (<samp class="codeph nolang">true</samp>), users can
                authenticate with a PEM-encoded X.509 digital certificate. Not
                enabled by default. Available in API version 47.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">allowUserCertBasedAuthenticationWithOcspValidation</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">If enabled (<samp class="codeph nolang">true</samp>),
                authentication certificates are validated using the Online
                Certificate Status Protocol (OCSP) or a Certificate Revocation List
                (CRL).</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">auraBoxcarReductionPref</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">If <samp class="codeph nolang">true</samp>, dynamic boxcar
                optimization for the Aura framework is disabled. With dynamic boxcar
                optimization, a limited number of server-side Aura actions are
                grouped in a single network request, which improves the performance
                of Lightning components and apps. For more information, see <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.264.0.lightning.meta/lightning/controllers_server_actions_boxcar_dynamic.htm" target="_blank">Boxcar Grouping and
                  Optimization</a> in the <cite class="cite">Lightning Aura Components
                  Developer Guide</cite>.<p class="p">The default value is <samp class="codeph nolang">false</samp>.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">canConfirmEmailChangeInLightningCommunities</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">If <strong class="ph uicontrol">Require email confirmations for email address
                  changes</strong> is enabled (<samp class="codeph nolang">true</samp>), when users change their email address, they
                receive an email at the new address with a link. After they click
                the link, their new email address takes effect. For orgs created
                before Winter ’20, the field isn’t enabled by default. For new orgs,
                this field is always enabled. To disable the field (not
                recommended), contact Salesforce Customer Support. Available in API
                version 47.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="ph" id="canConfirmIdentityBySmsOnly"><a name="canConfirmIdentityBySmsOnly"><!-- --></a><span class="keyword parmname">canConfirmIdentityBySmsOnly</span></span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">Prevents identity verification by email for users who have
                registered other verification methods, such as SMS or Salesforce
                Authenticator. If no other verification methods are configured,
                users are verified by email.<p class="p">By default, this setting is disabled
                  (<samp class="codeph nolang">false</samp>) for existing
                  orgs. For new orgs, this setting is enabled (<samp class="codeph nolang">true</samp>) by default. Available in
                  API version 48.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname" id="field_disabletimeoutwarning"><a name="field_disabletimeoutwarning"><!-- --></a>disableTimeoutWarning</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description"><span class="ph" id="disableTimeoutWarning_descr"><a name="disableTimeoutWarning_descr"><!-- --></a>Indicates whether the
                  session timeout warning popup is disabled (<samp class="codeph nolang">true</samp>) or enabled (<samp class="codeph nolang">false</samp>).</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">enableBuiltInAuthenticator</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">Indicates whether users can verify their identity with a built-in
                authenticator that's already on their device (<samp class="codeph nolang">true</samp>), such as Touch ID or Windows
                Hello, or not (<samp class="codeph nolang">false</samp>). The
                default value is <samp class="codeph nolang">false</samp>.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">enableCSPOnEmail</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">Indicates whether a content security policy is enabled for the
                email template. A content security policy helps prevent cross-site
                scripting attacks by listing allowed sources of images and other
                content.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">enableCSRFOnGet</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">Indicates whether Cross-Site Request Forgery (CSRF) protection on
                GET requests on non-setup pages is enabled (<samp class="codeph nolang">true</samp>) or disabled (<samp class="codeph nolang">false</samp>).</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">enableCSRFOnPost</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">Indicates whether Cross-Site Request Forgery (CSRF) protection on
                POST requests on non-setup pages is enabled (<samp class="codeph nolang">true</samp>) or disabled (<samp class="codeph nolang">false</samp>).</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname" id="field_enablecacheandautocomplete"><a name="field_enablecacheandautocomplete"><!-- --></a>enableCacheAndAutocomplete</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description"><span class="ph" id="enableCacheAndAutocomplete_descr"><a name="enableCacheAndAutocomplete_descr"><!-- --></a>Indicates whether the
                  user’s browser is allowed to store usernames and auto-fill the
                  <span class="keyword parmname">User Name</span> field on the login page
                  (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>).</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">enableClickjackNonsetupSFDC</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">Indicates whether clickjack protection for non-setup Salesforce
                pages is enabled (<samp class="codeph nolang">true</samp>) or
                disabled (<samp class="codeph nolang">false</samp>).</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">enableClickjackNonsetupUser</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">Indicates whether clickjack protection for customer Visualforce
                pages with standard headers turned on is enabled (<samp class="codeph nolang">true</samp>) or disabled (<samp class="codeph nolang">false</samp>).</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">enableClickjackNonsetupUserHeaderless</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">
                <span class="ph" id="rn196_enableClickjackNonsetupUserHeaderless_description"><a name="rn196_enableClickjackNonsetupUserHeaderless_description"><!-- --></a>Indicates whether clickjack protection for customer Visualforce
                  pages with standard headers turned off is enabled (<samp class="codeph nolang">true</samp>) or disabled (<samp class="codeph nolang">false</samp>).</span> Available in API
                version 34.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">enableClickjackSetup</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">Indicates whether clickjack protection for setup pages is enabled
                (<samp class="codeph nolang">true</samp>) or disabled (<samp class="codeph nolang">false</samp>).</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname" id="enableContentSniffingProtection"><a name="enableContentSniffingProtection"><!-- --></a>enableContentSniffingProtection</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">
                <p class="p" id="enableContentSniffingProtection_desc"><a name="enableContentSniffingProtection_desc"><!-- --></a>Indicates whether the
                  browser is prevented from inferring the MIME type from the
                  document content and from executing malicious files (JavaScript,
                  Style sheet) as dynamic content.</p>

                <p class="p">This field is available in API version 39.0 and later. In API
                  version 58.0 and later,
                  <span class="keyword parmname">enableContentSniffingProtection</span> is
                  always <samp class="codeph nolang">true</samp>.
                </p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">enableLightningLogin</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">If enabled (<samp class="codeph nolang">true</samp>), users can
                use Lightning Login (Salesforce Authenticator) to log in instead of
                a password. Available in API Version 47.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">enableLightningLoginOnlyWithUserPerm</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">If enabled (<samp class="codeph nolang">true</samp>), only
                users with the Lightning Login User permission can log in with
                Salesforce Authenticator instead of a password. Available in API
                version 47.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">enableMFADirectUILoginOptIn</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">Requires all users in your Salesforce org to provide an
                additional verification method when logging in directly to the UI
                with their username and password. Users who are already enabled via
                the Multi-Factor Authentication for User Interface Logins user
                permission experience no change. The Waive Multi-Factor
                Authentication for Exempt Users user permission overrides this
                setting.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">enableOauthCorsPolicy</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">
                <p class="p">If set to <samp class="codeph nolang">true</samp>, enables
                  Cross-Origin Resource Sharing (CORS) for these OAuth
                  endpoints:</p>

                <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">/services/oauth2/token</samp></li>

                  <li class="li"><samp class="codeph nolang">/services/oauth2/revoke</samp></li>

                  <li class="li"><samp class="codeph nolang">/services/oauth2/introspect</samp></li>

                </ul>

                <p class="p">Default setting is <samp class="codeph nolang">false</samp>.
                  Available in API version 50.0 and later.</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname" id="field_postForSessions"><a name="field_postForSessions"><!-- --></a>enablePostForSessions</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">
                <span class="ph" id="field_postForSessions_desc"><a name="field_postForSessions_desc"><!-- --></a>Indicates whether
                  cross-domain session information is exchanged using a POST
                  request instead of a GET request, such as when a user is using a
                  Visualforce page. In this context, POST requests are more secure
                  than GET requests.</span> Available in API version 31.0 and
                later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname" id="field_enablesmsidentity"><a name="field_enablesmsidentity"><!-- --></a>enableSMSIdentity</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description"><span class="ph" id="enableSMSIdentity_descr"><a name="enableSMSIdentity_descr"><!-- --></a>If enabled (<samp class="codeph nolang">true</samp>), the default, users can
                  receive a one-time password in a text message (SMS) to verify
                  their identity. Users must verify their mobile phone number
                  before they can receive SMS messages.</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname" id="field_enableu2f"><a name="field_enableu2f"><!-- --></a>enableU2F</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">If enabled (<samp class="codeph nolang">true</samp>), users can
                use a physical U2F-compatible security key for multi-factor
                authentication (MFA) and identity verification. The default is
                <samp class="codeph nolang">false</samp>. Available in API
                version 47.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname" id="enableUpgradeInsecureRequests"><a name="enableUpgradeInsecureRequests"><!-- --></a>enableUpgradeInsecureRequests</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">
                <p class="p" id="enableUpgradeInsecureRequests_desc"><a name="enableUpgradeInsecureRequests_desc"><!-- --></a>Indicates whether HTTPS
                  is required for connecting to third-party domains.</p>

                <p class="p">This setting is enabled by default on accounts created after the
                  Summer ’17 release.</p>

                <p class="p">This field is available in API version 42.0 to 60.0.</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname" id="enableXssProtection"><a name="enableXssProtection"><!-- --></a>enableXssProtection</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">
                <p class="p">Indicates whether the HTTP <samp class="codeph nolang">X-XSS-Protection</samp> response header is enabled to
                  protect against reflected cross-site scripting attacks.</p>

                <p class="p">This field is available in API version 39.0 to 59.0. The HTTP
                  <samp class="codeph nolang">X-XSS-Protection</samp>
                  response header is deprecated. To help prevent cross-site
                  scripting (XSS) and other code injection attacks, use the <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/meta_csptrustedsite.htm" target="_blank">CSPTrustedSite</a>
                  metadata type.
                </p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname" id="field_enableContinuousIP"><a name="field_enableContinuousIP"><!-- --></a>enforceIpRangesEveryRequest</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">
                <span class="ph" id="enableContinuousIP_descr"><a name="enableContinuousIP_descr"><!-- --></a>If <samp class="codeph nolang">true</samp>, the IP addresses in Login IP Ranges are
                  enforced when a user accesses Salesforce (on every page
                  request), including access from a client app. If <samp class="codeph nolang">false</samp>, the IP addresses in
                  Login IP Ranges are enforced only when a user logs in. This
                  field affects all user profiles with login IP restrictions.</span>
                Available in API version 34.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname" id="field_UserDeviceRevoked"><a name="field_UserDeviceRevoked"><!-- --></a>enforceUserDeviceRevoked</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">
                <p class="p" id="enforceUserDeviceRevoked_desc"><a name="enforceUserDeviceRevoked_desc"><!-- --></a>If enabled, and a UserDevice’s
                  status is set to revoked, that device can’t log in from a
                  Salesforce app. Logins from browsers aren’t affected.</p>

                <p class="p">This field is available in API version 50.0 and later.</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">forceLogoutOnSessionTimeout</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">If enabled (<samp class="codeph nolang">true</samp>), the
                default, when sessions time out for inactive users, current sessions
                become invalid. The browser refreshes and returns to the login page.
                To access the org, the user must log in again. Available in API
                version 31.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname" id="field_forcerelogin"><a name="field_forcerelogin"><!-- --></a>forceRelogin</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description"><span class="ph" id="forceRelogin_descr"><a name="forceRelogin_descr"><!-- --></a>If <samp class="codeph nolang">true</samp>, an admin who is logged in as another user
                  must log in again to their original session, after logging out
                  as the secondary user. If <samp class="codeph nolang">false</samp>, the admin isn’t required to log in
                  again.</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">hasRetainedLoginHints</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">If you enable <strong class="ph uicontrol">Remember me until logout</strong>
                (<samp class="codeph nolang">true</samp>), usernames (login
                hints) are cached until the user logs out. If a session times out,
                usernames appear on the Switcher as inactive. If <samp class="codeph nolang">false</samp> (default), usernames aren't
                cached for SSO sessions.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">hasUserSwitching</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">If <strong class="ph uicontrol">Enable user switching</strong> is<samp class="codeph nolang">true</samp> (default), users can log in to
                other orgs by selecting their profile picture and using the
                Switcher. You must also enable the <strong class="ph uicontrol">Enable caching and
                  autocomplete on login page</strong> setting. <p class="p">If <samp class="codeph nolang">false</samp>, the Switcher isn’t
                  enabled and your org doesn’t appear in Switchers on other
                  orgs.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">hstsOnForcecomSites</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">Indicates whether Visualforce, Salesforce sites, or Experience
                Cloud sites must use HTTPS. Available in API version 41.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname" id="identityConfirmationOnEmailChange"><a name="identityConfirmationOnEmailChange"><!-- --></a>identityConfirmationOnEmailChange</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">
                <p class="p" id="identityConfirmationOnEmailChange_desc"><a name="identityConfirmationOnEmailChange_desc"><!-- --></a>Indicates whether a
                  user’s identity is confirmed when changing their email address,
                  instead of requiring a relogin.</p>

                <p class="p">This field is available in API version 42.0 and later.</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname" id="IdentityConfirmationOnTwoFactorRegistrationEnabled"><a name="IdentityConfirmationOnTwoFactorRegistrationEnabled"><!-- --></a>identityConfirmationOnTwoFactorRegistrationEnabled</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">
                <p class="p" id="IdentityConfirmationOnTwoFactorRegistrationEnabled_desc"><a name="IdentityConfirmationOnTwoFactorRegistrationEnabled_desc"><!-- --></a>Indicates whether users are required to confirm their
                  identities when adding a verification method such as Salesforce
                  Authenticator for multi-factor authentication (MFA), instead of
                  requiring a relogin. (Multi-factor authentication was formerly
                  called two-factor authentication.)</p>

                <p class="p">This field is available in API version 40.0 and later.</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname" id="field_locksessionstodomain"><a name="field_locksessionstodomain"><!-- --></a>lockSessionsToDomain</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">
                <span class="ph" id="lockSessionsToDomain_desc"><a name="lockSessionsToDomain_desc"><!-- --></a>Indicates whether the current
                  UI session for a user is associated with a specific domain. This
                  check helps prevent unauthorized use of the session ID in
                  another domain. The value is <samp class="codeph nolang">true</samp> by default for orgs created with the Spring
                  ’15 release or later.</span> Available in API version 33.0 and
                later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname" id="field_locksessionstoip"><a name="field_locksessionstoip"><!-- --></a>lockSessionsToIp</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description"><span class="ph" id="lockSessionsToIP_descr"><a name="lockSessionsToIP_descr"><!-- --></a>Indicates whether user sessions
                  are locked to the IP address from which the user logged in
                  (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>).</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">lockerServiceAPIVersion</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">string</td>

              <td class="entry" headers="d842977e1280" data-title="Description">The API version that Lightning Locker enforces for security of
                custom Lightning components. The default value matches the
                Salesforce API version of the current release. Only valid Salesforce
                API versions between 46.0 and the current release can be specified.
                The version must be specified as a string in the format <samp class="codeph nolang">"<var class="keyword varname">nn</var>.0"</samp>, such as <samp class="codeph nolang">"48.0"</samp>. This setting has
                no effect on the <span class="keyword parmname">lockerServiceNext</span> setting,
                which enables Lightning Web Security.<p class="p">This field is available in
                  API version 47.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">lockerServiceCSP</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">If <samp class="codeph nolang">true</samp>, a stricter
                Content Security Policy is enabled to disallow the <samp class="codeph nolang">unsafe-inline</samp> source for the
                <samp class="codeph nolang">script-src</samp> CSP
                directive. Script tags can’t be used to load JavaScript, and
                event handlers can’t use inline JavaScript. Lightning Locker and
                Lightning Web Security depend on this setting to be enabled to
                protect Lightning components.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">lockerServiceNext</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">If <samp class="codeph nolang">true</samp>, Lightning Web
                Security is used instead of Lightning Locker to protect
                Lightning web components. Lightning Locker continues to protect
                Aura components. If <samp class="codeph nolang">false</samp>,
                Lightning Locker protects Lightning web components and Aura
                components. Available in API version 53.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">lockerServiceNextControl</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">Reserved for internal use.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">lockerTrustedMode</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">Reserved for internal use.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">lockerTrustedResources</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">string</td>

              <td class="entry" headers="d842977e1280" data-title="Description">Reserved for internal use.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname" id="field_logoutURL"><a name="field_logoutURL"><!-- --></a>logoutURL</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">string</td>

              <td class="entry" headers="d842977e1280" data-title="Description">
                <span class="ph" id="logoutURL_desc"><a name="logoutURL_desc"><!-- --></a>The URL to which users are redirected
                  when they log out of Salesforce.</span> If no value is specified,
                the default is
                <span class="ph filepath">https://<var class="keyword varname">MyDomainName</var>.my.salesforce.com</span>.
                Available in API version 34.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">redirectBlockModeEnabled</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">If <samp class="codeph nolang">true</samp>, users can’t access
                untrusted URLs outside the Salesforce domains via links in URL or
                Long Text Area fields. When a user who accesses Salesforce via
                Salesforce Classic clicks the link, a message informs the user that
                they can’t access the page because the external site isn’t trusted.
                The default is <samp class="codeph nolang">false</samp>.<p class="p">To
                  specify the URLs that you trust, use the <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_redirectwhitelisturl.htm" title="Represents a trusted URL that’s excluded from redirection restrictions when the redirectionWarning or redirectBlockModeEnabled field on the SessionSettings Metadata type is set to true. This type extends the Metadata metadata type and inherits its fullName field.">RedirectWhitelistUrl</a>
                  Metadata type.</p>
                <p class="p">The
                  <span class="keyword parmname">redirectBlockModeEnabled</span> and
                  <span class="keyword parmname">redirectionWarning</span> fields are mutually
                  exclusive. Only one of those fields can be <samp class="codeph nolang">true</samp>.
                </p>
                <p class="p">Available in API
                  56.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">redirectionWarning</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">If <samp class="codeph nolang">true</samp>, users who accesses
                Salesforce via Salesforce Classic see an alert when they click a
                link in a URL or Long Text Area field that redirects them to an
                untrusted URL outside the Salesforce domains. The default is <samp class="codeph nolang">true</samp> in orgs created in Spring ’18
                and later and <samp class="codeph nolang">false</samp> in orgs
                created in Winter ’18 and earlier.<p class="p">To specify the URLs that you
                  trust, use the <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_redirectwhitelisturl.htm" title="Represents a trusted URL that’s excluded from redirection restrictions when the redirectionWarning or redirectBlockModeEnabled field on the SessionSettings Metadata type is set to true. This type extends the Metadata metadata type and inherits its fullName field.">RedirectWhitelistUrl</a> Metadata type.</p>
                <p class="p">The
                  <span class="keyword parmname">redirectBlockModeEnabled</span> and
                  <span class="keyword parmname">redirectionWarning</span> fields are mutually
                  exclusive. Only one of those fields can be <samp class="codeph nolang">true</samp>.
                </p>
                <p class="p">Available in API
                  version 42.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">referrerPolicy</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description"> If <samp class="codeph nolang">true</samp>, pages served by
                Salesforce for this org include the <samp class="codeph nolang">referrer-policy</samp> HTTP header with the directive defined
                by <span class="keyword parmname">referrerPolicyDirective</span>. If <samp class="codeph nolang">false</samp>, that HTTP header isn’t
                included and requests can always see the full URL of the Salesforce
                page. The default is <samp class="codeph nolang">true</samp>.
                Available in API version 42.0 and later.<p class="p">In API version
                  42.0–57.0, if <span class="keyword parmname">referrerPolicy</span> is
                  <samp class="codeph nolang">true</samp>, pages served by
                  Salesforce for this org include the <samp class="codeph nolang">referrer-policy</samp> HTTP header with the <samp class="codeph nolang">origin-when-cross-origin</samp>
                  directive.
                </p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">referrerPolicyDirective</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">ReferrerPolicy (enumeration of type string)</td>

              <td class="entry" headers="d842977e1280" data-title="Description">The HTTP referrer policy directive for pages served by
                Salesforce. The default is <samp class="codeph nolang">strict-origin-when-cross-origin</samp>. If
                <span class="keyword parmname">referrerPolicy</span> is <samp class="codeph nolang">false</samp>, this value has no effect.
                Available in API version 58.0 and later.<p class="p">Valid current values
                  are:</p>
                <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">no-referrer</samp>—Never include the
                    referrer.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">origin</samp>—Always
                    send the origin only.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">same-origin</samp>—Omit
                    the referrer for cross-origin requests.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">strict-origin</samp>—For requests with the same
                    protocol level (HTTPS to HTTPS), send the origin only. Omit
                    the referrer when the target website is on a downgraded
                    protocol. An example of a downgraded protocol is a request
                    made from an HTTPS URL to an HTTP site.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">strict-origin-when-cross-origin</samp>—For
                    same-origin requests, send the full referrer URL. For
                    cross-origin requests with the same protocol level (HTTPS to
                    HTTPS), send the origin only. Omit the referrer when the
                    target website is on a downgraded protocol. This is the
                    default.
                  </li>

                </ul>
                <p class="p">These policies are deprecated. Although the values are
                  valid, they aren’t recommended.</p>
                <ul class="ul bulletList">
                  <li class="li">
                    <p class="p"><samp class="codeph nolang">no-referrer-when-downgrade</samp>—Omit the
                      referrer when the target website is on a downgraded
                      protocol. For example, when making a request to an HTTP
                      site from an HTTPS URL.</p>

                    <p class="p">This <span class="keyword parmname">referrerPolicyDirective</span> isn’t
                      recommended because this policy exposes the full URL of
                      the page to cross-origin requests to the same or a
                      higher protocol level. For example, requests from HTTPS
                      to HTTPS and requests from HTTP to either HTTP or
                      HTTPS.</p>

                  </li>

                  <li class="li">
                    <p class="p"><samp class="codeph nolang">origin-when-cross-origin</samp>—Send the
                      origin only for cross-domain requests or when the target
                      website is on a downgraded protocol. An example of a
                      downgraded protocol is a request made from an HTTPS URL
                      to an HTTP site.</p>

                    <p class="p">This <span class="keyword parmname">referrerPolicyDirective</span> isn’t
                      recommended because multiple browsers no longer support
                      it. Use <samp class="codeph nolang">strict-origin-when-cross-origin</samp>
                      instead.</p>

                  </li>

                  <li class="li">
                    <samp class="codeph nolang">unsafe-url</samp>—Always include the full referrer
                    URL.<p class="p">This <span class="keyword parmname">referrerPolicyDirective</span>
                      isn’t recommended because this policy exposes the full
                      URL of the page to requests from insecure
                      origins.</p>
                  </li>

                </ul>
                <p class="p">For more information on HTTP referrer policy directives,
                  including examples, see the <a class="xref" href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy" target="_blank" title="HTML (New Window)">Referrer-Policy</a> entry in the
                  <cite class="cite">MDN Docs HTTP Guide</cite>.
                </p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname" id="field_requireHttpOnly"><a name="field_requireHttpOnly"><!-- --></a>requireHttpOnly</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">
                <span class="ph" id="requireHttpOnly_desc"><a name="requireHttpOnly_desc"><!-- --></a>Sets the <samp class="codeph nolang">HttpOnly</samp> attribute on session
                  cookies, making them inaccessible via JavaScript. If <samp class="codeph nolang">true</samp>, session ID cookie access
                  is restricted. If <samp class="codeph nolang">false</samp>,
                  access isn’t restricted.</span>
                <p class="p">If you have a custom or packaged
                  application that uses JavaScript to access session ID cookies,
                  your application breaks if <span class="keyword parmname">requireHttpOnly</span>
                  is set to <samp class="codeph nolang">true</samp>. The
                  application can't access the cookie.</p>
                This field is available
                in API version 40.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname" id="field_requireHttps"><a name="field_requireHttps"><!-- --></a>requireHttps</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">
                <p class="p" id="requireHttps_desc"><a name="requireHttps_desc"><!-- --></a>Determines whether HTTPS is required to
                  log in to or access Salesforce. This option is enabled by
                  default for security reasons and can’t be disabled. To change to
                  HTTP, contact Salesforce Customer Support.</p>

                <p class="p"> This field is available in API version 40.0 to 60.0.</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname" id="field_securitycentralkillsession"><a name="field_securitycentralkillsession"><!-- --></a>securityCentralKillSession</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">Deprecated in API version 36.0 to 50.0. Removed in API version
                51.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname" id="field_sessiontimeout"><a name="field_sessiontimeout"><!-- --></a>sessionTimeout</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">SessionTimeout (enumeration of type string)</td>

              <td class="entry" headers="d842977e1280" data-title="Description">
                <p class="p" id="sessionTimeout_descr"><a name="sessionTimeout_descr"><!-- --></a>The length of time after which users
                  without activity are prompted to log out or continue working.
                  Valid values are:</p>

                <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">FifteenMinutes</samp></li>

                  <li class="li"><samp class="codeph nolang">ThirtyMinutes</samp></li>

                  <li class="li"><samp class="codeph nolang">SixtyMinutes</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">NinetyMinutes</samp>—Available in API version 58.0
                    and later.
                  </li>

                  <li class="li"><samp class="codeph nolang">TwoHours</samp></li>

                  <li class="li"><samp class="codeph nolang">FourHours</samp></li>

                  <li class="li"><samp class="codeph nolang">EightHours</samp></li>

                  <li class="li"><samp class="codeph nolang">TwelveHours</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">TwentyFourHours</samp>—Available in API version
                    38.0 and later.
                  </li>

                </ul>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">﻿sidToken3rdPartyAuraApp</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">If <samp class="codeph nolang">true</samp>, a Lightning app
                replaces the authentication cookie with a session token when the
                Lightning app is in a third-party context, such as Lightning
                Out.<p class="p">Browsers are restricting the use of third-party cookies.
                  This org setting is an alternative for the authentication cookie
                  to requiring that users disable browser settings, such as
                  Safari’s <span class="keyword parmname">Prevent cross-site tracking</span>
                  setting.</p>
                <p class="p">This field is available in API version 59.0 and
                  later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">skipSFAWhenMFADirectUILogin</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">Indicates which screen users see first when they're prompted to
                register a verification method for multi-factor authentication
                (MFA).&nbsp;<p class="p">If <samp class="codeph nolang">true</samp>, users
                  see a list of all supported verification methods.&nbsp;</p>
                <p class="p">If
                  <samp class="codeph nolang">false</samp>, users see only
                  the Salesforce Authenticator option. To see a list of all
                  supported verification methods, users must navigate to a new
                  page.
                </p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">terminateUserSessionsWhenAdminResetsPassword</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">Indicates what happens to a user's UI sessions when an admin
                resets that user's password. If <samp class="codeph nolang">true</samp>, all of the user's UI sessions are terminated. If
                <samp class="codeph nolang">false</samp>, no UI sessions are
                terminated.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">unescapedHtmlSanitization</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">Indicates whether to disable HTML sanitization when using the
                <samp class="codeph nolang">aura:unescapedHtml</samp>
                component.<p class="p">Available in API version 67.0 and
                  later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">untrustedRedirect</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">untrustedRedirect (enumeration of type string)</td>

              <td class="entry" headers="d842977e1280" data-title="Description">
                <p class="p">The redirection behavior when a user who accesses Salesforce via
                  Lightning Experience clicks a hyperlink in a URL field with a
                  target URL that isn’t trusted. Valid values are:</p>

                <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">AlwaysAllowed</samp></li>

                  <li class="li"><samp class="codeph nolang">NeverAllowed</samp></li>

                  <li class="li"><samp class="codeph nolang">WithUserPermission</samp></li>

                </ul>

                <p class="p">To specify the URLs that you trust, use the <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_redirectwhitelisturl.htm" title="Represents a trusted URL that’s excluded from redirection restrictions when the redirectionWarning or redirectBlockModeEnabled field on the SessionSettings Metadata type is set to true. This type extends the Metadata metadata type and inherits its fullName field.">RedirectWhitelistUrl</a>
                  Metadata type.</p>

                <p class="p">Available in API version 64.0 and later.</p>

                <p class="p">Secure redirections to untrusted URLs in Lightning Experience is
                  a pilot or beta service that is subject to the Beta Services
                  Terms at <a class="xref" href="https://www.salesforce.com/company/legal/agreements/" target="_blank">Agreements -
                    Salesforce.com</a> or a written Unified Pilot Agreement
                  if executed by Customer, and applicable terms in the <a class="xref" href="https://ptd.salesforce.com/" target="_blank">Product Terms Directory</a>. Use of this
                  pilot or beta service is at the Customer's sole discretion. </p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">useLocalStorageForLogoutUrl</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e1280" data-title="Description">Redirects all expired tabs in your browser to your custom logout
                URL (<samp class="codeph nolang">true</samp>). By default, this
                option is enabled for all new orgs and is available in API version
                52.0 and later.<p class="p">For orgs created prior to the Summer ’21 release,
                  the default setting is <samp class="codeph nolang">false</samp>. Before enabling this setting, review these
                  considerations.</p>

                <ul class="ul bulletList">
                  <li class="li">This setting uses the browser’s local storage to store the
                    custom logout URL.</li>

                  <li class="li">Verify that this setting doesn’t interfere with your custom
                    login integrations.</li>

                </ul>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">vfInlineScriptInjection</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">VfInlineScriptInjection (enumeraion of type string)</td>

              <td class="entry" headers="d842977e1280" data-title="Description">Reserved for future use. The default value is <samp class="codeph nolang">allow</samp>.<p class="p">Available in API version
                  67.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e1274" data-title="Field"><span class="keyword parmname">welcomeEmailTemplateId</span></td>

              <td class="entry" headers="d842977e1277" data-title="Field Type">string</td>

              <td class="entry" headers="d842977e1280" data-title="Description">Custom email template for the welcome email that new internal
                users receive when they're registered. This field supports only
                Classic email templates.<p class="p">Available in API version 63.0 and
                  later.</p>
              </td>

            </tr>

          </tbody>

        </table>

## SingleSignOnSettings

Represents your org’s single sign-on (SSO) settings. These settings are available API version 47.0 and later.

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d842977e2773">Field Name</th>

              <th class="featureTableHeader  " id="d842977e2776">Field Type</th>

              <th class="featureTableHeader  " id="d842977e2779">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d842977e2773" data-title="Field Name"><span class="keyword parmname">enableCaseInsensitiveFederationID</span></td>

              <td class="entry" headers="d842977e2776" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e2779" data-title="Description">If you enable <strong class="ph uicontrol">Make Federation ID
                  case-insensitive</strong> (<samp class="codeph nolang">true</samp>), the Federation ID field on a user object isn’t
                case-sensitive. If disabled (<samp class="codeph nolang">false</samp>), the Federation ID field remains
                case-sensitive. The default is <samp class="codeph nolang">false</samp>.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e2773" data-title="Field Name"><span class="keyword parmname">enableForceDelegatedCallout</span></td>

              <td class="entry" headers="d842977e2776" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e2779" data-title="Description">If you enable <strong class="ph uicontrol">Force Delegated Authentication
                  Callout</strong> (<samp class="codeph nolang">true</samp>),
                a callout to the SSO endpoint occurs regardless of login restriction
                failures. If disabled (<samp class="codeph nolang">false</samp>),
                the default, and if a user’s first login attempt fails due to login
                restrictions within the Salesforce org, a call isn’t made to the SSO
                endpoint.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e2773" data-title="Field Name"><span class="keyword parmname">enableMultipleSamlConfigs</span></td>

              <td class="entry" headers="d842977e2776" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e2779" data-title="Description">If <samp class="codeph nolang">true</samp> (default), you can
                configure multiple SAML providers. After enabling the setting, it
                can’t be disabled.</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e2773" data-title="Field Name"><span class="keyword parmname">enableSamlJitProvisioning</span></td>

              <td class="entry" headers="d842977e2776" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e2779" data-title="Description">If you enable <strong class="ph uicontrol">User Provisioning Enabled</strong>
                (<samp class="codeph nolang">true</samp>), you can provision
                users through a SAML assertion (called just-in-time provisioning).
                Requires <span class="keyword parmname">EnableSamlLogin</span> to be <samp class="codeph nolang">true</samp> and
                <span class="keyword parmname">enableMultipleSamlConfigs</span> to be <samp class="codeph nolang">false</samp>. The default is enabled
                (<samp class="codeph nolang">false</samp>).
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e2773" data-title="Field Name"><span class="keyword parmname">enableSamlLogin</span></td>

              <td class="entry" headers="d842977e2776" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e2779" data-title="Description">If you enable <strong class="ph uicontrol">SAML Enabled </strong> (<samp class="codeph nolang">true</samp>), users can SSO into
                Salesforce from providers via SAML. The default isn’t enabled
                (<samp class="codeph nolang">false</samp>).</td>

            </tr>

            <tr>
              <td class="entry" headers="d842977e2773" data-title="Field Name"><span class="keyword parmname">isLoginWithSalesforceCredentialsDisabled</span></td>

              <td class="entry" headers="d842977e2776" data-title="Field Type">boolean</td>

              <td class="entry" headers="d842977e2779" data-title="Description">If <strong class="ph uicontrol">Disable login with Salesforce
                  credentials</strong> is <samp class="codeph nolang">true</samp>, users are redirected to third-party identity
                providers for authentication. The default is enabled (<samp class="codeph nolang">false</samp>). <p class="p">If you enabled this
                  feature prior to the Summer ’20 release and want to disable it
                  prior to July 27, 2020, contact Customer Support. </p>
              </td>

            </tr>

          </tbody>

        </table>

## Declarative Metadata Sample Definition

Here’s a sample security.settings metadata file.

<?xml version="1.0" encoding="UTF-8"?>
<SecuritySettings xmlns="http://soap.sforce.com/2006/04/metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <canUsersGrantLoginAccess\>true</canUsersGrantLoginAccess\>
    <enableAdminLoginAsAnyUser xsi:nil="true"/>
    <enableAuditFieldsInactiveOwner xsi:nil="true"/>
    <enableAuraSecureEvalPref xsi:nil="true"/>
    <enableCoopHeader\>true</enableCoopHeader\>
    <enableCoepHeader\>false</enableCoepHeader\>
    <enableCrossOrgRedirects\>false</enableCrossOrgRedirects\>
    <enablePermissionsPolicy\>true</enablePermissionsPolicy\>
    <grantCameraAccess\>TrustedUrls</grantCameraAccess\>
    <grantMicrophoneAccess\>TrustedUrls</grantMicrophoneAccess\>
    <networkAccess/\>
    <passwordPolicies\>
        <complexity\>NoRestriction</complexity\>
        <expiration\>Never</expiration\>
        <historyRestriction\>0</historyRestriction\>
        <lockoutInterval\>FifteenMinutes</lockoutInterval\>
        <maxLoginAttempts\>TenAttempts</maxLoginAttempts\>
        <minimumPasswordLength\>5</minimumPasswordLength\>
        <minimumPasswordLifetime\>false</minimumPasswordLifetime\>
        <obscureSecretAnswer\>false</obscureSecretAnswer\>
        <questionRestriction\>DoesNotContainPassword</questionRestriction\>
    </passwordPolicies\>
    <redirectBlockModeEnabled\>false</redirectBlockModeEnabled\>
    <sendCspForUncommonClients\>false</sendCspForUncommonClients\>
    <sessionSettings\>
        <allowUserAuthenticationByCertificate\>false</allowUserAuthenticationByCertificate\>
        <disableTimeoutWarning\>false</disableTimeoutWarning\>
        <enableBuiltInAuthenticator\>false</enableBuiltInAuthenticator\>
        <enableCSPOnEmail\>true</enableCSPOnEmail\>
        <enableCSRFOnGet\>true</enableCSRFOnGet\>
        <enableCSRFOnPost\>true</enableCSRFOnPost\>
        <enableCacheAndAutocomplete\>true</enableCacheAndAutocomplete\>
        <enableClickjackNonsetupSFDC\>true</enableClickjackNonsetupSFDC\>
        <enableClickjackNonsetupUser\>false</enableClickjackNonsetupUser\>
        <enableClickjackNonsetupUserHeaderless\>false</enableClickjackNonsetupUserHeaderless\>
        <enableClickjackSetup\>true</enableClickjackSetup\>
        <enableContentSniffingProtection\>true</enableContentSniffingProtection\>
        <enableLightningLogin\>true</enableLightningLogin\>
        <enableLightningLoginOnlyWithUserPerm\>false</enableLightningLoginOnlyWithUserPerm\>
        <useLocalStorageForLogoutUrl\>false</useLocalStorageForLogoutUrl\>
        <enableOauthCorsPolicy\>false</enableOauthCorsPolicy\>
        <enablePostForSessions\>false</enablePostForSessions\>
        <enableSMSIdentity\>true</enableSMSIdentity\>
        <enableU2F\>false</enableU2F\>
        <enforceIpRangesEveryRequest\>false</enforceIpRangesEveryRequest\>
        <enforceUserDeviceRevoked\>false</enforceUserDeviceRevoked\>
        <forceLogoutOnSessionTimeout\>true</forceLogoutOnSessionTimeout\>
        <forceRelogin\>true</forceRelogin\>
        <hasRetainedLoginHints\>false</hasRetainedLoginHints\>
        <hasUserSwitching\>true</hasUserSwitching\>
        <hstsOnForcecomSites\>false</hstsOnForcecomSites\>
        <identityConfirmationOnEmailChange\>true</identityConfirmationOnEmailChange\>
        <identityConfirmationOnTwoFactorRegistrationEnabled\>true</identityConfirmationOnTwoFactorRegistrationEnabled\>
        <lockSessionsToDomain\>true</lockSessionsToDomain\>
        <lockSessionsToIp\>false</lockSessionsToIp\>
        <lockerServiceAPIVersion\>56.0</lockerServiceAPIVersion\>
        <lockerServiceCSP\>true</lockerServiceCSP\>
        <lockerServiceNext\>true</lockerServiceNext\>
        <logoutURL\>https://mycompany.com</logoutUrl\>
        <redirectionWarning\>true</redirectionWarning\>
        <referrerPolicy\>true</referrerPolicy\>
        <referrerPolicyDirective\>strict-origin-when-cross-origin</referrerPolicyDirective\>
        <requireHttpOnly\>true</requireHttpOnly\>
        <sessionTimeout\>TwoHours</sessionTimeout\>
        <untrustedRedirect\>WithUserPermission</untrustedRedirect\>
        <useLocalStorageForLogoutUrl\>true</useLocalStorageForLogoutUrl\>
        <vfInlineScriptInjection\>allow</vfInlineScriptInjection\>
        <welcomeEmailTemplateId\>X000000000000</welcomeEmailTemplateId\>
    </sessionSettings\>
    <singleSignOnSettings\>
        <enableCaseInsensitiveFederationID\>false</enableCaseInsensitiveFederationID\>
        <enableForceDelegatedCallout\>false</enableForceDelegatedCallout\>
        <enableMultipleSamlConfigs\>true</enableMultipleSamlConfigs\>
        <enableSamlJitProvisioning\>false</enableSamlJitProvisioning\>
        <enableSamlLogin\>false</enableSamlLogin\>
        <isLoginWithSalesforceCredentialsDisabled\>true</isLoginWithSalesforceCredentialsDisabled\>
    </singleSignOnSettings\>
</SecuritySettings\>

The following is an example package.xml manifest that references the previous definition.

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types\>
        <members\>Security</members\>
        <name\>Settings</name\>
    </types\>
    <version\>67.0</version\>
</Package\>

## Wildcard Support in the Manifest File

The wildcard character \* (asterisk) in the package.xml manifest file doesn’t apply to metadata types for feature settings. The wildcard applies only when retrieving all settings, not for an individual setting. For details, see [Settings](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_settings.htm "Represents the organization settings related to a feature. For example, your password policies, session settings and network access controls are all available in the SecuritySettings component type."). For information about using the manifest file, see [Deploying and Retrieving Metadata with the Zip File](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/file_based_zip_file.htm "The deploy() and retrieve() calls are used to deploy and retrieve a .zip file. Within the .zip file is a project manifest (package.xml) that lists what to retrieve or deploy, and one or more XML components that are organized into folders.").