|
|
|
|
|
- Properties specific to sfSessionInfo variables
sfSessionInfo (Variable type) In french: sfInfoSession
The sfSessionInfo type is used to get information about the current session. You can define and change the characteristics of this type of variable using different WLanguage properties. This type of variable is used by sfConnection variables. The properties of this type are available after the call to SFConnect. Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Cnx is sfConnection
Cnx.Login = "balthazar@gmail.com"
Cnx.Password = "azerty" + "XXB12VCZ54"
IF SFConnect(Cnx) = False THEN
Error("La connexion a échoué")
ELSE
Trace("Id de l'utilisateur connecté : " + Cnx.SessionInfo.UserID)
END
Properties Properties specific to 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 | User information. 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|