You need to sign in to do that
Don't have an account?
Delegated Administrator roles and profiles - User Maintenance
I'm trying to duplicate some of the User maintenance functions in a visual force page, and I'm running into a bit of a problem. In the normal user form, if a user is a delegated administrator, the picklists for roles and profiles only show what they have access to. In my visual force page, the list comes up with all roles and profiles. Does anyone know how to get the same picklist?
For example, our delegated administrator for zone 1 can see the roles for his zone and all roles under the zone. He can also see all profiles defined in the delegated administration form. When I put that field on my form, all roles and profiles display.
Any help is appreciated - thanks!
Not sure about this.. but did you try adding "with sharing" on your controller?