Skip to main content

UsePermissions

usePermissions

Status: Developer Preview

Returns a hasPermissions function that can be used to determine whether the active user has the given permissions on the active channel.

Signature
function usePermissions(): void