Red Hat Training

A Red Hat training course is available for Red Hat Satellite

10.63. Method: setUserSubscribable

Description

Set the subscribable flag for a given channel and user. If value is set to true, this method gives the user 'subscribe' permissions to the channel. Otherwise, the privilege is revoked.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string channelLabel - Label of the channel
  • string login - Login of the target user
  • boolean value - Value of the flag to set
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise.