Перейти к содержимому

Block and unblock web users

Это содержимое пока не доступно на вашем языке.

A blocked web user cannot log in to the panel, and blocking ends all of its open panel sessions. The customer and its other web users are not affected. This is the same as Block and Unblock on the System Management → Users screen. You can block any web user of a customer except the default user created together with the customer.

Both methods support trusted mode with i_customer.

Blocks a web user and ends its panel sessions.

Name Type Required Description
i_web_user int yes ID of the web user
Name Type Description
result string OK
i_web_user int ID of the blocked web user
request
call("blockWebUser", {"i_web_user": 57})
response
{"result": "OK", "i_web_user": 57}

Unblocks a web user. It can log in again at once.

Name Type Required Description
i_web_user int yes ID of the web user
Name Type Description
result string OK
i_web_user int ID of the unblocked web user
request
call("unblockWebUser", {"i_web_user": 57})
response
{"result": "OK", "i_web_user": 57}