Categories: Boolean
IS_MEMBER
Returns whether the current user is a member of the specified role. This function cannot be used in a reflection.
Syntax
IS_MEMBER(expression varchar) → boolean
- expression: String expression identfying a role in Dremio.
Examples
IS_MEMBER exampleSELECT IS_MEMBER ('public')
-- True
SELECT IS_MEMBER ('non-role')
-- False