adspace


How to check for user license in salesforce work environment?

Answer Posted / Versha Rawat

"To check a user's license, you can use Apex code or the SOQL query 'SELECT Profile.Name FROM User WHERE Id = :UserInfo.getUserId()'. This returns the profile assigned to the current user, which defines their license and access level in Salesforce."

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is workflow rule and workflow actions? : salesforce workflows and approval process

573


What were you doing before sfdc development?

521