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
sai manognasai manogna 

user1 has access to 5 account records,user2 has access to 10 account records ?how do u call the ids?

user1 has access to 5 account records,user2 has access to 10 account records  ?how do u call the ids?
Raj VakatiRaj Vakati
Make sure your profile is having View ALL permission on the account object 

and run this SOQL query from developer console and workbench 
 
Select Id , Name from Account