Access
Last updated
Was this helpful?
Last updated
Was this helpful?
Functions to list and manipulate access controls. With the exception of access/entry/userlist, ADMIN privilege is required to use these functions.
Lists the text strings, options and defaults used when configuring access controls within the TVH GUI (ie Configuration -> Users -> Access Entries).
Creates a new user from a JSON object.
conf
The JSON object describing the new user.
Lists users and their privileges. See for details of selection parameters.
Outputs a list of usernames. The "*" user and any users with a zero-length name are excluded.
The function is used internally to populate the "Owner" dropdown in Digital Video Recorder -> Finished Recordings -> Edit. It MUST be called by a user without ADMIN privileges, otherwise an empty list is returned.
Lists the text strings, options and defaults used when configuring access controls within the TVH GUI (ie Configuration -> Users -> IP Blocking Records).
Creates a new IP-based access record.
conf
The JSON object describing the access record.
Lists the text strings, options and defaults used when configuring access controls within the TVH GUI (ie Configuration -> Users -> Passwords).
Creates a new password record.
conf
The JSON object describing the record.
If authentication for the user is by persistent token (requires TVHeadend > 4.3.1500) the entry has some extra fields:
Lists IP-block records. See for details of selection parameters.
Lists passwords for users. Note that "password" is in clear-text while "password2" is base64-encoded with a static prefix. See for details of selection parameters.