call create user api and maximum mail create

I use create user (mail) api with php (user root) and I have no limitations even with a limited account plant

if i use api with standard username. i have an error “ERROR: You are not allowed to run remote commands”

how to have a limitation ?

ps: sorry for my english. I’m french and I speak little english :wink:

Thank you

In french:

j’utilise l’api create user (pour la création de mail) en root avec php mais je n’ai aucune limitation alors que dans mon “account plant” je suis limité à 5 compte.

comment je peux faire pour avoir une limitation à 5 mail avec mon account plan

d’avance merci.

Howdy,

Only the root user can use the Virtualmin command line tools.

If you can’t run the tools as root – you’d need to use the remote API.

-Eric