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
Wilfredo Morillo 23Wilfredo Morillo 23 

I want to use visualforce pages in a customer community

I'm trying to control the access to specific pages only to specific users in the community. How can i display a no access message to those users that don't have access to specific pages. Right now i have a community page with a visualforce component to but for those users without access is just a blank page. for example: 

User without access to get : "You dont have access to this page please contact support"
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Wilfredo,

Use Visualforce in Customer Communities.please check the below link for reference. Hope it will be helpful.

Best Rrgards
Rahul Kumar