|
|
|
|
- Properties specific to the description of sfUserInfo variables
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 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.
// 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 name | Type used | Effect |
---|
UserDefaultCurrencyIsoCode | Character string | ISO code of the default currency used by the user. This property is read-only. | OrganizationDefaultCurrencyISOCode | Character string | ISO code of the default currency used by the company. This property is read-only. | Email | Character string | User's email address. This property is read-only. | TimeZone | Character string | Time zone of the user. This property is read-only. | ProfileID | Character string | Identifier of the user profile. This property is read-only. | RoleID | Character string | Identifier of the position (role) occupied by the user in the company. This property is read-only. | OrganizationID | Character string | Identifier of the company. This property is read-only. | UserID | Character string | User identifier. This property is read-only. | Language | Character string | Language 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 read-only. | Username | Character string | Username. This property is read-only. | AccessibilityMode | Boolean | - True if the accessibility mode for the unsighted users is enabled,
- False otherwise.
This property is read-only. | OrganizationMultiCurrency | Boolean | - True if the company uses several currencies,
- False otherwise.
This property is read-only. | FullName | Character string | Full name of the user. This property is read-only. | OrganizationName | Character string | Name of the user organization or company. This property is read-only. | RegionalSettings | Character string | 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 read-only.Caution: Before version 170078, this property was named "Region". It was renamed from version 170078. | Region | Character string | Property 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 read-only. | CurrencySymbol | Character string | Symbol of the currency used. This property is read-only. | UISkin | Character string | Theme 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 read-only. | UserType | Character string | Type of user license assigned to the profile associated with the user. This property is read-only. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|