You need to sign in to do that
Don't have an account?
Brijesh Kumar
from system admin account find all profile names
Hi
I loging as a system admin account & i wants all profile name in apex class.
can you give me a solution how can i get.
please help me
Thanks & regards
Brijesh kumar baser
In explorer you can get all the profiles using this following query.
Select p.Name from Profile p;
But this query will not execute in apex class, I guess so.
But try this, all the best.
You cannot perform create, update or delete, but you can retrieve the values (only select statement will work).
All the best::)