Get User Info

Operation Name

Get User Info

Function Overview

Retrieves personal information for the user associated with the current session, using the getUserInfo() call of the SOAP API.


With regarding to the API specification utilized by this operation, please refer to the version of the API document, selected for the Global Resource, in the below-mentioned link.

Data Model

The data model of this component is the XML type.

Properties

For information about using variables, refer to "variables".
Basic Settings
Item name Required/Optional Use of Variables Description Supplement
Name Required Not Available Enter the name that appears on the script canvas.  
Required Settings
Item name Required/Optional Use of Variables Description Supplement
Destination Required Not Available Select Global Resources.
  • [Add...]:
    Add new global resource.
  • [Edit...]:
    Global resource settings can be edited by [Edit Resource list].
  • A global resource on API 29.0 or later versions can be specified.
Comment
Item name Required/Optional Use of Variables Description Supplement
Comment Optional Not Available You can write a short description of this adapter.
The description will be reflected in the specifications.
 

Schema

Input Schema

None.

Output Schema

<?xml version="1.0" encoding="UTF-8" ?>
<Result>
  <GetUserInfoResult>
    <accessibility_mode/>
    <currency_symbol/>
    <organization_id/>
    <organization_multi_currency/>
    <organization_name/>
    <org_default_currency_iso_code/>
    <profile_id/>
    <role_id/>
    <session_seconds_valid/>
    <user_default_currency_iso_code/>
    <user_email/>
    <user_full_name/>
    <user_id/>
    <user_language/>
    <user_locale/>
    <user_name/>
    <user_time_zone/>
    <user_type/>
    <user_ui_skin/>
  </GetUserInfoResult>
</Result>
Element Name 1 Element Name 2 Element Name 3 Description Supplement
Result
-
-
-
 
-
GetUserInfoResult
-
The "getUserInfoResult" properties is output.  
-
-
accessibility_mode Indicates whether user interface modifications for the visually impaired are on (true) or off (false).  
-
-
currency_symbol Currency symbol to use for displaying currency values. Applicable only when organizationMultiCurrency is false.  
-
-
organization_id ID of the organization.  
-
-
organization_multi_currency Indicates whether the user's organization uses multiple currencies (true) or not (false).  
-
-
organization_name Name of the user's organization or company.  
-
-
org_default_currency_iso_code Default currency ISO code. Applicable only when organizationMultiCurrency is false.  
-
-
profile_id ID of the profile associated with the role currently assigned to the user.  
-
-
role_id Role ID of the role currently assigned to the user.  
-
-
session_seconds_valid Number of seconds remaining until the user's session expires.  
-
-
user_default_currency_iso_code Default currency ISO code. Applicable only when organizationMultiCurrency is true.  
-
-
user_email User's email address.  
-
-
user_full_name User's full name.  
-
-
user_id User ID  
-
-
user_language User's language, which controls the language for labels displayed in an application. String is 2-5 characters long. The first two characters are always an ISO language code, for example "fr" or "en". If the value is further qualified by country, then the string also has an underscore (_) and another ISO country code, for example "US" or "UK".  
-
-
user_locale User's locale, which controls the formatting of dates and choice of symbols for currency. The first two characters are always an ISO language code, for example "fr" or "en". If the value is further qualified by country, then the string also has an underscore (_) and another ISO country code, for example "US" or "UK".  
-
-
user_name User's login name.  
-
-
user_time_zone User's time zone.  
-
-
user_type Type of user license assigned to the Profile associated with the user.  
-
-
user_ui_skin Returns the theme of user interface.  

Reading Schema by Mapper

The schema will be read automatically.

Large Data Processing

Large Data Processing is not supported.

Usage on PSP Script

Cannot be used on PSP Script.

Available Component variables

Component Variable Name Description Supplement
server_url The end point URL after Login is stored.
  • The default value is null.
session_id The session Id is stored.
  • The default value is null.
message_category In the case that an error occurs, the category of the message code corresponding to the error is stored.
  • The default value is null.
message_code In the case that an error occurs, the code of the message code corresponding to the error is stored.
  • The default value is null.
message_level In the case that an error occurs, the importance of the message code corresponding to the error is stored.
  • The default value is null.
operation_api_exception_code The ExceptionCode of the occured error, in a case of API error, is stored.
  • The default value is null.
  • For any error other than an API Error, the value is not stored.
  • The content to be stored may change according to the version of DataSpider Servista.
operation_error_message If an error occurs, the error message of the occured error is stored.
  • The default value is null.
  • The content to be stored may change according to the version of DataSpider Servista.
operation_error_trace When an error occurs, the trace information of the occured error is stored.
  • The default value is null.
  • The content to be stored may change according to the version of DataSpider Servista.

Specification Limits

Main exceptions

Exception Name Reason Resolution
ResourceNotFoundException
Resource Definition is Not Found. Name:[]
[Destination] is not specified. Specify [Destination].
ResourceNotFoundException
Resource Definition is Not Found. Name:[<Global Resource Name>]
The resource definition selected in [Destination] cannot be found. Verify the global resource specified in [Destination]
java.net.UnknownHostException This exception occurs when the PROXY server specified in the global resource cannot be found. Verify the condition of the PROXY server. Or verify [Proxy Host] of the global resource specified in the [Destination].
java.net.SocketTimeoutException
connect timed out
A time-out has occurred while connecting to Salesforce. Verify the network condition and Salesforce server condition. Or check [Connection timeout(sec)] of the global resource specified in the [Destination].
java.net.SocketTimeoutException
read timed out
A time-out has occurred while waiting for a responce from the server after connecting to Salesforce. Verify the network condition and Salesforce server condition. Or check [Timeout(sec)] of the global resource specified in the [Destination].
jp.co.headsol.salesforce.adapter.exception.SalesforceAdapterIllegalArgumentException Invalid value is set for the property of Salesforce adapter. Check the error message, and verify the settings.
jp.co.headsol.salesforce.adapter.exception.SalesforceAdapterIllegalArgumentException
The login function by session ID is not activated. Please verify the global resource settings.
Invalid value is set for the property of Salesforce adapter. Please verify the [Login Control in Execution] setting in the global resource specified in [Destination].
jp.co.headsol.salesforce.adapter.exception.SalesforceAdapterIllegalArgumentException
The URL [<Server URL>] specified as server URL does not satisfy the validity of Salesforce server URL.
Invalid value is set for the property of Salesforce adapter. Check the URL specified in [Server URL].
com.sforce.soap.partner.fault.UnexpectedErrorFault An unexpected error has occured while processing to Salesforce. Check the ExceptionCode or error message, and refer to the information about this type of error in Salesforce-related documents etc.