PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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 (Type de variable)
The sfSessionInfo type is used to get information regarding the current session. The characteristics of this type of variable can be defined and modified by several WLanguage properties.
This type of variable is used by the sfConnection variables. The properties of this type are available after the call to SFConnect.
Note: See Declaring a variable for more details.
Versions 20 and later
WINDEVLinux This type of variable is now available for the WINDEV applications in Linux.
iPhone/iPad This type of variable is now available for the iPhone/iPad applications.
New in version 20
WINDEVLinux This type of variable is now available for the WINDEV applications in Linux.
iPhone/iPad This type of variable is now available for the iPhone/iPad applications.
WINDEVLinux This type of variable is now available for the WINDEV applications in Linux.
iPhone/iPad This type of variable is now available for the iPhone/iPad applications.
Example
// Connection to Salesforce
Cnt is sfConnection
Cnt..Login = "vince@gmail.com"
Cnt..Password = "azerty" + "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:
NameType usedEffect
SessionIdCharacter stringIdentifier of the session. This property is available in read-only.
UserIdCharacter stringIdentifier of the user. This property is available in read-only.
UserInfosfUserInfoInformation regarding the user. This property is available in read-only.
SandboxModeBoolean
  • True if the "Sandbox" mode is enabled,
  • False otherwise.
This property is available in read-only.
PasswordExpiredBoolean
  • True if the password has expired,
  • False otherwise.
This property is available in read-only.
ServerURLCharacter stringServer URL. This property is available in read-only.
MetadataServerURLCharacter stringURL of the meta-data server. This property is available in read-only.
Note: These properties can be used with one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment