removes all subscribers from the specified channel.
removes the specified user from the subscriber list.
removes the specified subscribers useri.
Details and Options
- In RemoveChannelSubscribers[channel,…], channel can be specified as a channel object or in any of the forms used inside ChannelObject.
- RemoveChannelSubscribers attempts to stop the corresponding ChannelListener object in the subscriber's session, but this is not a guaranteed operation and should not be relied on for channel security.
- You must have execute permission on a channel to remove its subscribers.
Examplesopen allclose all
Basic Examples (1)
Administration by Channel Creator (1)
Properties & Relations (3)
RemoveChannelListener terminates a subscription in the current session directly:
RemoveChannelSubscribers terminates the current subscription, but does not prevent the user from resubscribing:
Revoking listening privileges by setting channel permissions prevents future access to the channel, but does not affect the currently active listeners. Use RemoveChannelSubscribers in addition to SetOptions to terminate the current listeners and prevent future access: