OpenAccount, NewAccount

function OpenAccount(const Email: WideString): OleVariant

function NewAccount(const Email: WideString): OleVariant

Both of these functions return an instance to the IceWarpAPI.AccountObject. The Email parameter can be either an alias or a complete domain name. Once the instance returned use the AccountObject functions and properties.

Use the OpenAccount function to edit an existing account. The NewAccount lets you add a new account.