How to check for user license in salesforce work environment?



How to check for user license in salesforce work environment?..

Answer / 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

More Salesforce Interview Questions

Explain the lead conversion process in salesforce?

1 Answers  


Explain what is dashboard?

1 Answers  


Difference between a workflow rule and approval process?

1 Answers  


What is the difference between isblank() and isnull()?

1 Answers  


What is standard list controller? : salesforce visualforce

1 Answers  


What is a vlookup in s.f?

1 Answers  


What is the character limit for custom labels?

1 Answers  


What is a visual force component? : salesforce crm

1 Answers  


How will you pass values from vf page to controller?

1 Answers  


What is an Case Team? (EE/UE)

1 Answers  


What are the actions in workflow?

1 Answers  


How many types of relationship in salesforce?

1 Answers  


Categories