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
krishna1krishna1 

How to Restrict site pages for particular User, pages are Cms force2 page

Hi all,

 

How to Restrict pages(pages are cms force app pages) particular user when user long into site. we have 10 pages and 2 user, 1st user login to site, 1st user visible only 5 pages and 2nd user visible only 4 page. Is it possible.

 

Thanks

Salesforce SolutionsSalesforce Solutions

This is a quick and simple approach for your simple example, but for a large deployment might not be the best:

 

1. Create a profile for the user(s) who are not permitted to see all of the pages.

(In Setup, go to Manage Users | Profiles, clone the profile of the user and then assign that user the new profile.)

 

2. Edit the Security settings of the restricted page(s) to exclude the profile of the restricted user(s).

(In Setup, go to Develop | Pages and click on the Security link of the VF page).