Text Size: Normal / Large

31.4. applicable_roles

The view applicable_roles identifies all groups that the current user is a member of. (A role is the same thing as a group.) Generally, it is better to use the view enabled_roles instead of this one; see also there.

Table 31-2. applicable_roles Columns

NameData TypeDescription
granteesql_identifierAlways the name of the current user
role_namesql_identifierName of a group
is_grantablecharacter_dataApplies to a feature not available in PostgreSQL
Privacy Policy | Project hosted by hub.org | Designed by tinysofa
Copyright © 1996 – 2007 PostgreSQL Global Development Group