Blogs
-
Check if current user is Admin in Salesforce
In Salesforce, you can check if the current user is an admin by checking their profile or permissions. The easiest way to do this is by checking if the user has the “Modify All Data” permission, which is a standard permission given to system administrators. Here’s how you can check if the current user is…
-
Parse Datetime String to DateTime in Apex
-
Mixed DML Operation Error in Salesforce
Mixed DML error in Salesforce