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