postInsuranceCreateAccounts(createAccountsInputParam, createPortalUsers)

Create person accounts and portal users for group census members.

65.0

No

public static ConnectApi.InsuranceAccountsAndUsersCreationRepresentation postInsuranceCreateAccounts(ConnectApi.InsuranceAccountsAndUsersCreationInputRepresentation createAccountsInputParam, Boolean createPortalUsers)

createAccountsInputParam

createPortalUsers

  • Type: Boolean
  • Specifies whether to create portal users for the new person accounts (true) or not (false). The default is false.

Type: ConnectApi.InsuranceAccountsAndUsersCreationRepresentation

Here’s an example of how to invoke the Create Accounts API from Apex code.