You need to sign in to do that
Don't have an account?
Souls
No such column 'IsPortalEnabled' on entity 'User'
I have problems using the IsPortalUser flag on the User object in Apex.
This line gives the error:
List<User>lstUsers=[select Id, IsActive, IsPortalEnabled from User where IsActive=true and IsPortalEnabled=true];
We are on Enterprise Edition with Customer Portal licenses in our org.
The select statement works in the Development Console and in the Eclipse Salesforce Schema query interface
Any ideas?
/Mats
This field "IsPortalEnabled" is only available if partner relationship management (partner portal) or Customer Portal is enabled, OR if Communities is enabled and you have partner portal, Customer Portal, or High-Volume Portal User licenses.
Regards,
Abhi Tripathi
Salesforce Developer