How to check object level security within a Visualforce page in Salesforce?

{!$ObjectType.Lead.Accessible} is used to check object level security within a Visualforce page in Salesforce

Sample Visualforce Code:

<apex:page>
    {!$ObjectType.Lead.Accessible} 
</apex:page>

Cheers!!!

No comments:

Post a Comment