PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Properties specific to the description of sfSessionInfo variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
sfSessionInfo (Type of variable)
In french: sfInfoSession
The sfSessionInfo type is used to get information regarding the current session. The characteristics of this type of variable can be defined and modified 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: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
Versions 20 and later
WINDEVLinux This type of variable is now available for WINDEV applications in Linux.
iPhone/iPad This type of variable is now available for iPhone/iPad applications.
New in version 20
WINDEVLinux This type of variable is now available for WINDEV applications in Linux.
iPhone/iPad This type of variable is now available for iPhone/iPad applications.
WINDEVLinux This type of variable is now available for WINDEV applications in Linux.
iPhone/iPad This type of variable is now available for iPhone/iPad applications.
Example
// 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 regarding the current session:
Property nameType usedEffect
SessionIdCharacter stringSession identifier. This property is available in read-only mode.
UserIdCharacter stringUser identifier. This property is available in read-only mode.
UserInfosfUserInfoInformation regarding the user. This property is available in read-only mode.
SandboxModeBoolean
  • True if the "Sandbox" mode is enabled,
  • False otherwise.
This property is available in read-only mode.
PasswordExpiredBoolean
  • True if the password has expired,
  • False otherwise.
This property is available in read-only mode.
ServerURLCharacter stringServer URL. This property is available in read-only mode.
MetadataServerURLCharacter stringURL of the meta-data server. This property is available in read-only mode.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment