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
NANCY1NANCY1 

How to access the records based on the Users detail??

Hi All,

 

I have a custom object i.e. Project with a custom field Project Team (that contains the employee code).

Now, in the Standard User object.. i have a Custom field Employee Code.

 

I want to give access to the logged in user, of only those project records where the User's employee code contains/matches with the Project record.

 

its something User authencation kind of stuff...based on the custom fields...

 

I am running in big time issue.. please suggest..Thanks

SAPOCSAPOC

You can do it by clicking on Project Tab display visual force page with list view project:Employee code equal to Logged user:Employee code.