I'm working in a client that communicates with routerboard via API. In this client I can show anything about users, profiles, customers and create users in user-manager. But my problem is when I want to assign a profile in user-manager to a user.
I try to do it how I do via winbox or telnet (where it works), but seems that when I try to do the same with API doesn't find another thing that causes error.
For example (in vb6):
Where user, costumer and prof are String variables.
Code: Select all
/tool/user-manager/user/create-and-activate-profile" & " =user=" & user & " =customer=" & costumer & " =profile=" & prof
In the Output:
!trap =message= no such command prefix
!trap =message= failure: unknown profile
Anyone can help me?