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
Amit Visapurkar 5Amit Visapurkar 5 

For a particular user get default page layout associated with a particular Object

I am creating a rest webservice which accepts userId and Object parameters and should return the default layout associated with that Object for that particular user.

Its very urgent.

Any help would be greatly appreciated. 
SalesFORCE_enFORCErSalesFORCE_enFORCEr
I don;t think it is possible in apex but using Metadata Api you can access what page layouts are assigned to which profile
https://resources.docs.salesforce.com/sfdc/pdf/api_meta.pdf