Reply
skm
Contributor
skm
Posts: 4

using ispartner in soql gives error in apex class

Hi I am trying to get only standard users and not partner users in my soql

select name from user where ispartner=false .

this works fine in explorer but when I use in apex class gives me error field does not exists ....etc.

 

Is there any way I can solve this issue?

 

thanks in advance...