10.66. setUserSubscribable

Name
setUserSubscribable
Description
Set the subscribable flag for a given channel and user. If value is set to 'true', this method will give the user subscribe permissions to the channel. Otherwise, that privilege is revoked.
Parameters
  • string sessionKey
  • string channelLabel - label of the channel
  • string login - login of the target user
  • boolean value - value of the flag to set
Return Value
  • int - 1 on success, exception thrown otherwise.