|
|
|
|
- Properties specific to the description of sfSessionInfo variables
sfSessionInfo (Type of variable) In french: sfInfoSession
The sfSessionInfo type is used to get information about the current session. The characteristics of this type of variable can be defined and changed using different WLanguage properties. This type of variable is used by the sfConnection variables. The properties of this type are available after the call to SFConnect. Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. // Connect to Salesforce Cnt is sfConnection Cnt.Login = "balthazar@gmail.com" Cnt.Password = "qwerty" + "XXB12VCZ54" IF SFConnect(Cnt) = False THEN Error("The connection failed") ELSE Trace("ID of the connected user: " + Cnt.SessionInfo.UserID) END
Remarks Properties specific to the description of sfSessionInfo variables The following properties can be used to handle the information about the current session: | | | Property name | Type used | Effect |
---|
SessionID | Character string | Session identifier. This property is read-only. | UserID | Character string | User identifier. This property is read-only. | UserInfo | sfUserInfo | Information regarding the user. This property is read-only. | SandboxMode | Boolean | - True if the "Sandbox" mode is enabled,
- False otherwise.
This property is read-only. | PasswordExpired | Boolean | - True if the password has expired,
- False otherwise.
This property is read-only. | ServerURL | Character string | Server URL. This property is read-only. | MetadataServerURL | Character string | URL of the meta-data server. This property is read-only. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|