Get User
Retrieves a user by their ID.
Basic Parameters
Parameter | Description |
---|---|
ID | Identifier of the user to retrieve. Can be obtained via the List Users action. |
Advanced Parameters
Parameter | Description |
---|---|
Fields | A comma-seperated list of fields to get values for. For example: name,description,numberofemployees,industry . |
If Modified Since | An optional parameter specifying a date and time. The request returns records that have been modified after the specified date and time. |
Example Output
{
"attributes": {
"type": "User",
"url": "/services/data/v57.0/sobjects/User/001D000000IqhSLIAZ"
},
"Id": "001D000000IqhSLIAZ",
"Username": "example@mail.com",
"LastName": "User",
"FirstName": "Example",
"Name": "Example User",
"CompanyName": "Example",
"Division": null,
"Department": null,
"Title": null,
"Street": null,
"City": null,
"State": null,
"PostalCode": null,
"Country": "",
"Latitude": null,
"Longitude": null,
"GeocodeAccuracy": null,
"Address": {
"city": null,
"country": "",
"geocodeAccuracy": null,
"latitude": null,
"longitude": null,
"postalCode": null,
"state": null,
"street": null
},
"Email": "example@mail.com",
"EmailPreferencesAutoBcc": true,
"EmailPreferencesAutoBccStayInTouch": false,
"EmailPreferencesStayInTouchReminder": true,
"SenderEmail": null,
"SenderName": null,
"Signature": null,
"StayInTouchSubject": null,
"StayInTouchSignature": null,
"StayInTouchNote": null,
"Phone": null,
"Fax": null,
"MobilePhone": null,
"Alias": "Exam",
"CommunityNickname": "Example",
"BadgeText": "",
"IsActive": true,
"TimeZoneSidKey": "",
"UserRoleId": null,
"LocaleSidKey": "",
"ReceivesInfoEmails": false,
"ReceivesAdminInfoEmails": true,
"EmailEncodingKey": "UTF-8",
"ProfileId": "001D000000IqhSLIAZ",
"UserType": "Standard",
"LanguageLocaleKey": "en_US",
"EmployeeNumber": null,
"DelegatedApproverId": null,
"ManagerId": null,
"LastLoginDate": "2023-04-24T20:49:10.000+0000",
"LastPasswordChangeDate": "2023-04-24T17:39:46.000+0000",
"CreatedDate": "2023-04-24T17:14:13.000+0000",
"CreatedById": "001D000000IqhSLIAZ",
"LastModifiedDate": "2023-04-24T17:39:48.000+0000",
"LastModifiedById": "001D000000IqhSLIAZ",
"SystemModstamp": "2023-04-24T17:47:08.000+0000",
"NumberOfFailedLogins": 0,
"OfflineTrialExpirationDate": null,
"OfflinePdaTrialExpirationDate": null,
"UserPermissionsMarketingUser": true,
"UserPermissionsOfflineUser": true,
"UserPermissionsCallCenterAutoLogin": false,
"UserPermissionsSFContentUser": true,
"UserPermissionsKnowledgeUser": false,
"UserPermissionsInteractionUser": false,
"UserPermissionsSupportUser": true,
"UserPermissionsJigsawProspectingUser": false,
"UserPermissionsSiteforceContributorUser": false,
"UserPermissionsSiteforcePublisherUser": false,
"UserPermissionsWorkDotComUserFeature": false,
"ForecastEnabled": true,
"UserPreferencesActivityRemindersPopup": true,
"UserPreferencesEventRemindersCheckboxDefault": true,
"UserPreferencesTaskRemindersCheckboxDefault": true,
"UserPreferencesReminderSoundOff": false,
"UserPreferencesDisableAllFeedsEmail": false,
"UserPreferencesDisableFollowersEmail": false,
"UserPreferencesDisableProfilePostEmail": false,
"UserPreferencesDisableChangeCommentEmail": false,
"UserPreferencesDisableLaterCommentEmail": false,
"UserPreferencesDisProfPostCommentEmail": false,
"UserPreferencesContentNoEmail": false,
"UserPreferencesContentEmailAsAndWhen": false,
"UserPreferencesApexPagesDeveloperMode": false,
"UserPreferencesReceiveNoNotificationsAsApprover": false,
"UserPreferencesReceiveNotificationsAsDelegatedApprover": false,
"UserPreferencesHideCSNGetChatterMobileTask": false,
"UserPreferencesDisableMentionsPostEmail": false,
"UserPreferencesDisMentionsCommentEmail": false,
"UserPreferencesHideCSNDesktopTask": false,
"UserPreferencesHideChatterOnboardingSplash": false,
"UserPreferencesHideSecondChatterOnboardingSplash": false,
"UserPreferencesDisCommentAfterLikeEmail": false,
"UserPreferencesDisableLikeEmail": false,
"UserPreferencesSortFeedByComment": false,
"UserPreferencesDisableMessageEmail": false,
"UserPreferencesHideLegacyRetirementModal": false,
"UserPreferencesJigsawListUser": false,
"UserPreferencesDisableBookmarkEmail": false,
"UserPreferencesDisableSharePostEmail": false,
"UserPreferencesEnableAutoSubForFeeds": false,
"UserPreferencesDisableFileShareNotificationsForApi": false,
"UserPreferencesShowTitleToExternalUsers": true,
"UserPreferencesShowManagerToExternalUsers": false,
"UserPreferencesShowEmailToExternalUsers": false,
"UserPreferencesShowWorkPhoneToExternalUsers": false,
"UserPreferencesShowMobilePhoneToExternalUsers": false,
"UserPreferencesShowFaxToExternalUsers": false,
"UserPreferencesShowStreetAddressToExternalUsers": false,
"UserPreferencesShowCityToExternalUsers": false,
"UserPreferencesShowStateToExternalUsers": false,
"UserPreferencesShowPostalCodeToExternalUsers": false,
"UserPreferencesShowCountryToExternalUsers": false,
"UserPreferencesShowProfilePicToGuestUsers": false,
"UserPreferencesShowTitleToGuestUsers": false,
"UserPreferencesShowCityToGuestUsers": false,
"UserPreferencesShowStateToGuestUsers": false,
"UserPreferencesShowPostalCodeToGuestUsers": false,
"UserPreferencesShowCountryToGuestUsers": false,
"UserPreferencesShowForecastingChangeSignals": false,
"UserPreferencesHideS1BrowserUI": false,
"UserPreferencesDisableEndorsementEmail": false,
"UserPreferencesPathAssistantCollapsed": false,
"UserPreferencesCacheDiagnostics": false,
"UserPreferencesShowEmailToGuestUsers": false,
"UserPreferencesShowManagerToGuestUsers": false,
"UserPreferencesShowWorkPhoneToGuestUsers": false,
"UserPreferencesShowMobilePhoneToGuestUsers": false,
"UserPreferencesShowFaxToGuestUsers": false,
"UserPreferencesShowStreetAddressToGuestUsers": false,
"UserPreferencesLightningExperiencePreferred": true,
"UserPreferencesPreviewLightning": false,
"UserPreferencesHideEndUserOnboardingAssistantModal": false,
"UserPreferencesHideLightningMigrationModal": false,
"UserPreferencesHideSfxWelcomeMat": false,
"UserPreferencesHideBiggerPhotoCallout": false,
"UserPreferencesGlobalNavBarWTShown": false,
"UserPreferencesGlobalNavGridMenuWTShown": false,
"UserPreferencesCreateLEXAppsWTShown": false,
"UserPreferencesFavoritesWTShown": false,
"UserPreferencesRecordHomeSectionCollapseWTShown": false,
"UserPreferencesRecordHomeReservedWTShown": false,
"UserPreferencesFavoritesShowTopFavorites": false,
"UserPreferencesExcludeMailAppAttachments": false,
"UserPreferencesSuppressTaskSFXReminders": false,
"UserPreferencesSuppressEventSFXReminders": false,
"UserPreferencesPreviewCustomTheme": false,
"UserPreferencesHasCelebrationBadge": false,
"UserPreferencesUserDebugModePref": false,
"UserPreferencesSRHOverrideActivities": false,
"UserPreferencesNewLightningReportRunPageEnabled": false,
"UserPreferencesReverseOpenActivitiesView": false,
"UserPreferencesShowTerritoryTimeZoneShifts": false,
"UserPreferencesHasSentWarningEmail": false,
"UserPreferencesHasSentWarningEmail238": false,
"UserPreferencesHasSentWarningEmail240": false,
"UserPreferencesNativeEmailClient": false,
"ContactId": null,
"AccountId": null,
"CallCenterId": null,
"Extension": null,
"FederationIdentifier": null,
"AboutMe": null,
"FullPhotoUrl": "https://company-domain.develop.file.force.com/profilephoto/005/F",
"SmallPhotoUrl": "https://company-domain.develop.file.force.com/profilephoto/005/T",
"IsExtIndicatorVisible": false,
"OutOfOfficeMessage": "",
"MediumPhotoUrl": "https://company-domain.develop.file.force.com/profilephoto/005/M",
"DigestFrequency": "D",
"DefaultGroupNotificationFrequency": "N",
"JigsawImportLimitOverride": 300,
"LastViewedDate": "2023-04-24T17:58:47.000+0000",
"LastReferencedDate": "2023-04-24T17:58:47.000+0000",
"BannerPhotoUrl": "/profilephoto/005/B",
"SmallBannerPhotoUrl": "/profilephoto/005/D",
"MediumBannerPhotoUrl": "/profilephoto/005/E",
"IsProfilePhotoActive": false,
"IndividualId": null
}
Workflow Library Example
Get User with Salesforce and Send Results Via Email