To set or update user host mask, use the command user/update_hosts_mask:
svc=user/update_hosts_mask¶ms={"userId":<long>, "hostsMask":<text>}
Name | Description |
---|---|
userId | user ID |
hostsMask | host mask |
{ "hm":<text> /* host mask */ }
Code | Value |
---|---|
1 | invalid session |
2 | invalid service name |
3 | invalid result |
4 | invalid format or value of parameters |
7 | access denied |
|