Cmdlets for Salesforce

Build 24.0.9060

SessionTimeout Parameter (Connect-Salesforce Cmdlet)

The time in minutes for which a Salesforce login session is reused.

Syntax

Connect-Salesforce -SessionTimeout string

Data Type

cstr

Default Value

"10"

Remarks

The cmdlet creates a login session with Salesforce based on the authentication credentials provided. This session is reused for subsequent queries until it times out. The SessionTimeout property allows you to control how long the login session is kept by the cmdlet. You can set the SessionTimeout to 0 to disable login sessions; this will force the cmdlet to authenticate each request.

This property useful when creating and reusing a Salesforce connection. The property only impacts SSO and Basic Authentication connections, and is not used for OAuth.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060