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
krishna p 28krishna p 28 

how to know if User is referred anywhere in salesforce

hi,

Is there any way to see if a user is referred in any component like workflow, processor builder or any other possible component in salesforce. I am trying to inactivate a user but need to make sure this user has not been referred any where.

Kind Regards,
Krishna
Malika Pathak 9Malika Pathak 9

Hi krishna,

Please find the solution. how to know if User is referred anywhere in salesforce.

Follow the below steps to check User is referred 
  1. Setup-> Object Manager
  2.Your object that you want to check like User
  3. Click On User then click on 
Fields & Relationships
  4.Go to Field Dependencies 
 I think here you would see your object referred.

User-added image

Or for apex classes and trigger

 

In developer console you can check the relationship of apex class and pages. But you cannot check the relationship between a trigger and apex class.
 
Follow the below steps to cheek apex class, trigger and pages in developer console
Setup->Developer console
Click on Repository tab present in developer console
Click on classes from Setup Entity type
All the classes will display in entities
Click on any class relationship with object, page and with others will display in Related window.
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 
 

https://developer.salesforce.com/forums/?id=906F00000008s39IAA

Please let me know it is working or not.

If you find this solution is helpful for you please mark best answer.

Thanks

ShirishaShirisha (Salesforce Developers) 
Hi Krishna,

Greetings!

I don't think you can find the user references directly as mentioned in the above comment which will be helpful if you would like to find the field refernces only.

Previously,we might be able to find the refernces using IDE where you can retrieve all the component and search for refernces.

I would suggest you to try the same approach in VS code.

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri