Retrieves a Salesforce User record with the given Account Id.
This handler essentially has two phases: authentication and record retrieval.
The handler uses the SOAP API login method to retrieve the authentication details that are required for making the REST API requests. The required authentication values are instance and session id, these two values are retrieved by the login() helper method in the handler.
The handler uses the REST API to retrieve the Salesforce user. The handler's return variables are mapped from the Salesforce fields as show here (with the name of the Salesforce field on the left pointing to the name of the corresponding return variable):
Id => Account ID
Username => Username
LastName => LastName
FirstName => FirstName
Name => Name
CommunityNickname => CommunityNickname
Alias => Alias
Email => Email
The username of the account that will be used for record retrieval
The password of the account that will be used for record retrieval.
The security token associated with the account used for record retrieval. To reset this value, log into Saleforce using the desired account and navigate to Setup -> My Personal Information -> Reset Security Token. A new token will be emailed to you.
The Id of the Salesforce User that will be retrieved