ADO.NET Provider for Salesforce

Build 25.0.9434

SecurityToken

Specifies the security token used to authenticate access to the Salesforce account.

Data Type

string

Default Value

""

Remarks

When using Basic or OAuthPassword authentication, Salesforce may require a security token in addition to the user’s password. This token is an additional security measure, typically used when logging in from untrusted IP addresses or outside of the trusted IP ranges configured in Salesforce.

To obtain a security token, log in to Salesforce, navigate to Settings > My Personal Information > Reset My Security Token, and request a new token. The token is sent to your registered email address. If your password is reset, you also need to reset and retrieve a new security token.

This property is only needed if your IP address is not within the Trusted IP range defined in Salesforce or if your organization enforces security token requirements.

This property is useful for securely connecting to Salesforce from untrusted networks or when using Basic authentication methods that require additional verification.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434