RDB$SYSTEM_PRIVILEGE()
Checks if the authorization of the current connection has a system privilege
BOOLEAN
RDB$SYSTEM_PRIVILEGE (<sys_privilege>)
<sys_privilege> ::=
!! See CREATE ROLE
!!
Parameter | Description |
---|---|
sys_privilege |
System privilege |
RDB$SYSTEM_PRIVILEGE
accepts a system privilege name and returns TRUE
if the current connection has the given system privilege, and FALSE
otherwise.
The authorization of the current connection is determined by privileges of the current user, the user PUBLIC
, and the currently active roles (explicitly set or activated by default).