You need to sign in to do that
Don't have an account?
Ivan-m
Need to find field in Apex explorer for Active profile. Help!
My issue is:
I'm trying to make select of customer portal profiles using this expression:
Profile[] profiles = [Select p.name, p.id From Profile p where p.UserLicense.Name like '%Customer Portal%'];
But, I need to show only those profiles, which are enabled in Setup->Customer portal -> Settings. Then Click on portal -> edit profiles. Then select 'Active' check boxes on profiles.
I've looked thru all fields of profiles, but still can't find that values. What is the name for Customer portal object in apex explorer?
Any Ideas?
Thanks.
Hope it could help you
Select p.Id, p.Name, (Select IsActive From Users) from Profile p
Thanks, but still doesn't work. Probably need something else. Need help.