Skip to main content
Version: 24.1.x

IS_MEMBER

Categories: Boolean

IS_MEMBER

Returns whether the current user is a member of the specified role.

Syntax

IS_MEMBER(expression varchar) → boolean

  • expression: String expression identfying a role in Dremio.

Examples

IS_MEMBER example
SELECT IS_MEMBER ('public')
-- True
IS_MEMBER example
SELECT IS_MEMBER ('non-role')
-- False