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?


1 Answer 1


you cannot add/delete delegated admin programmatically.


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 .