PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Properties specific to the description of sfUserInfo variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
sfUserInfo (Type of variable)
In french: sfInfoUtilisateur
The sfUserInfo type is used to get information about a user. The characteristics of this type of variable are returned by several WLanguage properties.
This type is used by the sfSessionInfo variables. The properties of this type are filled 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.
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("Name of connected user: " +  ...
  Cnt.SessionInfo.UserInfo.FullName)
END
Remarks

Properties specific to the description of sfUserInfo variables

The following properties can be used to handle the information regarding a Salesforce user:
Property nameType usedEffect
UserDefaultCurrencyIsoCodeCharacter stringISO code of the default currency used by the user.
This property is available in read-only mode.
OrganizationDefaultCurrencyISOCodeCharacter stringISO code of the default currency used by the company.
This property is available in read-only mode.
EmailCharacter stringUser's email address.
This property is available in read-only mode.
TimeZoneCharacter stringTime zone of the user.
This property is available in read-only mode.
ProfileIDCharacter stringIdentifier of the user profile.
This property is available in read-only mode.
RoleIDCharacter stringIdentifier of the position (role) occupied by the user in the company.
This property is available in read-only mode.
OrganizationIDCharacter stringIdentifier of the company.
This property is available in read-only mode.
UserIDCharacter stringUser identifier.
This property is available in read-only mode.
LanguageCharacter stringLanguage of the user. This parameter defines the language used for the captions of the controls in the application. The first two characters represent the ISO code of the language. These characters are followed by an underscore character (_) then by the ISO code of the country.
  • Example for the USA: "en_US".
  • Example for the French Canada: "fr_CA".
This property is available in read-only mode.
LoginCharacter stringUsername.
This property is available in read-only mode.
AccessibilityModeBoolean
  • True if the accessibility mode for the unsighted users is enabled,
  • False otherwise.
This property is available in read-only mode.
OrganizationMultiCurrencyBoolean
  • True if the company is using several currencies,
  • False otherwise.
This property is available in read-only mode.
FullNameCharacter stringFull name of the user.
This property is available in read-only mode.
OrganizationNameCharacter stringName of the user organization or company.
This property is available in read-only mode.
Versions 17 and later
RegionalSettings
New in version 17
RegionalSettings
RegionalSettings
Character stringLanguage used to define the regional settings (format of dates, symbols of currencies). The first two characters represent the ISO code of the language. These characters are followed by an underscore character (_) then by the ISO code of the country.
  • Example for the USA: "en_US".
  • Example for the French Canada: "fr_CA".
This property is available in read-only mode.
Caution: Before version 170078, this property was named "Region". It was renamed from version 170078.
RegionCharacter stringProperty kept for backward compatibility. Starting with version 170078, it is recommended to use the RegionalSettings property.
Language used to define the regional settings (format of dates, symbols of currencies). The first two characters represent the ISO code of the language. These characters are followed by an underscore character (_) then by the ISO code of the country.
  • Example for the USA: "en_US".
  • Example for the French Canada: "fr_CA".
This property is available in read-only mode.
CurrencySymbolCharacter stringSymbol of the currency used.
This property is available in read-only mode.
GUISkinUISkinCharacter stringTheme used for the interface. Can correspond to:
  • "Theme1" if the user uses the interface named "Salesforce Classic".
  • "Theme2" if the user uses the interface named "Salesforce".
This property is available in read-only mode.
UserTypeCharacter stringType of user license assigned to the profile associated with the user.
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