How could we get the accountId which is associated to a community self-registration setting

By | August 10, 2018

We can setup an associating account on a community.

I'd like to know How could we get the associated Account through Apex code?

Is there any field I could query from the SOQL or APEX class?


SELECT ID, Name, SelfRegProfileId, SelfRegAccountId FROM Network WHERE ID= xxx

enter image description here