+ Start a Discussion

User view needed to be different as they loggedIn

Hi developers,


                       How to do this type? I have a page & controller, to fetch records between two dates by user input & downloaded records in csv. User view need to be different. In an org. role based record creation & role based record need to be view


eg: Normal user can create today's date record.

      team lead of users can create today's & tomorrow records


viewing records:


            In role hierarchy , user can view only his records, teamlead can view group of user records of their team, admin can view all records