You need to sign in to do that
Don't have an account?
Sagar Dumbre
Get community default record owner by Apex or SOQL
Is there any way to get below value through Apex/SOQL?
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
I don't think this would be possible to retrieve the default record owner using soql or apex however you can use a custom label to store the user id that is the current default record owner. This label you can use in apex.
Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks.
https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_site.htm