Reply
Trusted Contributor
CRMfusion - GW
Posts: 175
0
Accepted Solution

Chatter Plus users vs Standard users

How can we tell the difference between chatter plus vs standard users in the API?

 

It appears as if both have the UserType = Standard

 

GlennW

Moderator
bob_buzzard
Posts: 6,407
0

Re: Chatter Plus users vs Standard users

You have to jump through a couple of hoops to get at this information.

 

From the user record you can get the id of the profile (the profileid field).  From the profile you can access the id of the license (userlicenseid) and from that you can lookup the associated record in the userlicense table and check the value of the name field.

--
Certified Salesforce Technical Architect, Developer, Advanced Developer, Administrator, Advanced Administrator, Consultant, Sales Cloud Consultant,Service Cloud Consultant
Force.com MVP | The Bob Buzzard Blog | Linked In | Twitter

I don't respond to private messages/emails asking for help.


Take the Bob Buzzard Sobject Fields quiz.