hello,
using RB for many years now (RB112, RB532…), but I’m new to User Manager.
I’m writing a programm in c# to control UM, running on a RB433 (will be replaced by a RB1100AHx4 Dude Edition).
List users or profiles …: OK
adding a customer: works fine!!
add user, even in a Terminal: problem!!
/tool user-manager user> a
customer: admin
failure: username is required
if your RouterOS version up to 6.17 you should change name to username in this line
Send(“=username=” + varName);
and in activate profile used “numbers” not “user” like previous versions
Send(“/tool/user-manager/user/create-and-activate-profile”);
Send(“=customer=admin”);
Send(“=numbers=” + varName);
Send(“=profile=” + yourprofilename);
PROBLEM SOLVED!!
I also needed the support of Mikrotik Support…
To add a user, you MUST issue the command user manager user ADD USER = “TEST”
and then you can answer “admin” on the question “customer”
and user TEST is created