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
kamal3883kamal3883 

restrict the controller action for users which are logged in using “Grant Login Access”

Hi all,

 

I want to write code for below functionality. Can anyone please help.

 

I want to restrict the controller action for users which are logged in using “Grant Login Access”.  Means user who logged in through some other are not able to access some records in my object.

Nantha_WipNantha_Wip

i would recommend you to change your object default setting to private

(You should have a permission to create sharing settings otherwise please contact your administrator to do that)

 

refere below link

 

For all type of Data security

http://ap1.salesforce.com/help/doc/en/security_data_access.htm

 

Orgwise default settings:

https://ap1.salesforce.com/help/doc/en/managing_the_sharing_model.htm

http://ap1.salesforce.com/help/doc/en/admin_sharing.htm