RemoveChannelSubscribers
RemoveChannelSubscribers[channel]
removes all subscribers from the specified channel.
RemoveChannelSubscribers[channel,user]
removes the specified user from the subscriber list.
RemoveChannelSubscribers[channel,{user1,user2,…}]
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.
Examples
open allclose allBasic Examples (1)
Scope (2)
Applications (2)
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:
Text
Wolfram Research (2019), RemoveChannelSubscribers, Wolfram Language function, https://reference.wolfram.com/language/ref/RemoveChannelSubscribers.html.
CMS
Wolfram Language. 2019. "RemoveChannelSubscribers." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RemoveChannelSubscribers.html.
APA
Wolfram Language. (2019). RemoveChannelSubscribers. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RemoveChannelSubscribers.html