getChannelOrgIds

Function

Returns an array of org ids configured for the channel, supporting both legacy permissions and V2 ACL model.

  • getChannelOrgIds(channel: IChannel) : string[]

Parameters

Parameter Type Default Notes
channel Required IChannel

An IChannel record

Returns

an array of org ids for the given channel

string[]

Function defined in common/src/discussions/utils.ts:111