Is there a way to query a list of delegated administrators? I looked in the list of objects available to query in Force.com Explorer and can't find any objects that look like they would have this information.
I'm open to any approach to get a list of delegated admins: using the metadata api, Apex code or SOQL.
Attribution to: Daniel Hoechst
Possible Suggestion/Solution #1
If you want to query using SOQL, then I am afraid there is no way of getting hold of delegated administrators. There is a "DelegatedApproverId" field on the user object that you can query, if that helps.
Anup
Attribution to: Anup
Possible Suggestion/Solution #2
I finally got an official response from Salesforce that Delegated Administrators is not available via the API.
You can see a list of all unsupported metadata types here: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_unsupported_types.htm
Attribution to: Daniel Hoechst
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/129