user manager .net api

Hi, I’m Josep Maria from Spain.
I’m triying work with usermanager remotely using .net api.

I can add an new user to user manager with this code:

mk.Send(“/tool/user-manager/user/add”, False)
mk.Send(“=customer=admin”, False)
mk.Send(“=username=s”, False)
mk.Send(“=password=s”, True)

I can see the new user in user manager but when I try to log I receive “no valid profile found”.

Do you know how can I add the profile parameter in the add sentence?

Thank you.

You do not set profile in user manager. Instead after creating users you run
create-and-activate-profile command