3

I would like to assign power-users to be admins of Delegated Administration groups a bit easier than the click-through manual process.

Is there a way I can query admins via SOQL or assign admins via DML?

I can do these assignments for other setup-type operations (PermissionSetAssignment, Profile, UserTerritory2Association, UserRole, GroupMember). Is there a way to do it for Delegated Administration Groups? If so, how?

If not, is there any other programmatic API for user assignments to delegate admin groups?

4

1 Answer 1

1

you cannot add/delete delegated admin programmatically.

https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_unsupported_types.htm

it mean delegated admin is metadata(not sobject data). but salesforce does not support it (yet).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .