43.5. addRole

Name
addRole
Description
Adds a role to a user.
Parameters
  • string sessionKey
  • string login - User login name to update.
  • string role - Role label to add. Can be any of: satellite_admin, org_admin, channel_admin, config_admin, system_group_admin, or activation_key_admin.
Return Value
  • int - 1 on success, exception thrown otherwise.