i am new to apex and pl/sql.i am trying to develop an application in which there is 'Role Based page access' for logged in users.
if logged in username is 'TESTUSER123' then display pages 1 and 2 only, after click on Login button
if logged in username is 'TESTUSER3234' then display pages 2 and 3 only,after click on Login button.
For this do i need to apply custom Authentication/Authorization scheme or both?
if yes, then where to write this code in apex?
if possible please specify sample code or link to sample code. Thanks in advance