You need to sign in to do that
Don't have an account?
punit tyagi 7
how to fetch acessible sobject in org not field??
please help how to fetch accessible sobject in org how???
not mentioned or ask accessible field???
not mentioned or ask accessible field???
Check below link.
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_SObjects_accessing_fields.htm
You can also check whether a particular object or field is accessible to the logged in user or not.
Try below snippet.
Hope this helps...
Thanks,
You can check for the accessibility of an object like this:
{!$ObjectType.objectname.accessible}
For example, to check if you have access to the standard Lead object, use the following code:
{!$ObjectType.Lead.accessible}
This expression returns a true or false value.
Reference: https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_controller_std_checking_accessibility.htm
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you