function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DharmendraDharmendra 

Retrieve default record type for a user by user id

Hi,

I'm working on Salesforce integration with a system and wanted to identify the default record type for a user by user id.
Default record type for a user is associated by its profile i.e. Profile of the user contain the default record type for each object.
I've searched but didn't find where and how Salesforce manages the relationship between Profile and Record type.

So far, I'm able to get the default record type for a logged in user only, using Salesforce Partner API by retrieving the sObjects.

Do we have any way to retrieve this information from Salesforce for a user (Not logged In, but have user Id) using salesforce APIs.
Please provide any idea or suggestion to resolve it.