set_role

This action sets the user role of the current user.

SYNTAX

http://www.myserver.com/evj/ExtraView/ev_api.action?
user_id=username
&password=password
&statevar=set_role
&user_group=role_id

NOTES

The role_id specified, must exist, else the command will fail.

You can get a list of the valid roles with the command get_roles.