Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

IdentityType Enum

Determines which set of credentials is used to authenticate to the external system.

Usage

The relevant credentials are passed to your DataSource.Connection class.

Enum Values

The following are the values of the DataSource.IdentityType enum.

Value Description
ANONYMOUS No credentials are used to authenticate to the external system.
NAMED_USER The credentials in the external data source definition are used to authenticate to the external system, regardless of which user is accessing the external data from your organization.
PER_USER For queries and searches, the credentials are specific to the current user who invokes the query or search. The credentials come from the user’s authentication settings for the external system.

For administrative connections, such as syncing the external system’s schema, the credentials come from the external data source definition.