deleteUsersFromChannel
Delete users from a channel by removing their affiliation.
This method removes users from the specified channel. The users will no longer be affiliated with the channel. The operation is performed by removing the users' affiliations, and any users that were successfully removed will be returned along with the list of contact IDs that failed to be removed. Removing users is equivalent to setting their affiliation type to ChannelUserAffiliationType.NONE.
Return
A RainbowResult containing a pair of lists:
A list of ChannelUser objects representing the users whose affiliations were successfully removed.
A list of String containing the contact IDs that failed to be removed.
Parameters
The Channel object from which the users' affiliations will be removed.
A list of String containing the contact IDs of the users to be removed from the channel.
Delete users from a channel by removing their affiliation.
This method removes users from the specified channel based on their contact information. The users will no longer be affiliated with the channel. The operation is performed by removing the users' affiliations, and any users that were successfully removed will be returned along with the list of contacts that failed to be removed. Removing users is equivalent to setting their affiliation type to ChannelUserAffiliationType.NONE.
Return
A RainbowResult containing a pair of lists:
A list of ChannelUser objects representing the users whose affiliations were successfully removed.
A list of String containing the contact IDs that failed to be removed.
Parameters
The Channel object from which the users' affiliations will be removed.
A list of IRainbowContact objects representing the users to be removed from the channel.