title: "UsePermissions" isDefaultIndex: false
import MemberInfo from '@site/src/components/MemberInfo'; import GenerationInfo from '@site/src/components/GenerationInfo'; import MemberDescription from '@site/src/components/MemberDescription';
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.
function usePermissions(): void