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
Bill ButtonBill Button 

Controlling Customer Portal securities and access

Hi,
 
We are in the process of implementing and deploying the Salesforce Customer Portal, and would like to know the best way to controll access. When a user logs in, if they have a valid Contract with a Contract End Date in the future we want to make available the full customer portal, if however they do not have a valid contract we want to change their profile so they only have some basic tabs.
 
Whats the best way to approach this, does this need to be done from Apex or is there some standard functionality I have not found.
 
Regards
Bill Button
Business Systems Development Manager