setUserProperties


Description

Sets one or more properties of a user

Example request

https://www.rundowncreator.com/channel4news/API.php
     ?APIKey=edharken
     &APIToken=HNe2ADG0nBTiC8Q8WiVfsxeG5ip51A
     &Action=setUserProperties
     &UserID=3
     &Type=Writer

Example response

{
    "Success": 1
}

Required parameters

UserID integer the unique ID of the user to change

Optional parameters

Username string the user's username
Password string the user's password
FirstName string the user's first name
LastName string the user's last name
EmailAddress string the user's email address
Type string the user's type. Possible values include Viewer, Writer, Producer, and Administrator
Activated boolean if set to true, the user's account will be activated. If set to false, the user's account will be deactivated

Returns

Success boolean true if successful, false if unsuccessful

Notes

Requires permissions of an administrator or higher when modifying another user, or when modifying the Username, Password, FirstName, LastName, Type, or Activated properties of yourself or another user.