add_user_to_group

This action adds an existing user to an existing user group.

SYNTAX

http://www.myserver.com/evj/ExtraView/ev_api.action?
user_id=username
&password=password
&statevar=add_user_to_group
&security_user_id=userID
&user_group=userGroup
[&access_token=token-value]

NOTES

  • You must provide both an existing user and an existing user group
  • The command will fail if you pass a name other than security_user_id or user_group
  • The command will fail if the user is already a member of the user group
  • You must have update permission to the security key named SE_SECURITY_GROUP before you can execute the command
  • The optional access_token parameter allows you to use a valid OAuth2 token obtained with the get_token command.  If you provide the access_token parameter, then the user_id and password parameters should not be provided.  This prevents the password being sent in clear text over your network connection.