Skip to main content

Privacera Documentation


Description: returns the list of user attribute keys. Can be used for comparison of numeric values.


  • The user has an attribute: 10=admin,GET_USER_ATTR_NAMES() will return10.

Usage: can be used in:

  • Row Level Filter Policies - row level filters expressions

  • Example:dept_id in (${{GET_USER_ATTR_NAMES()}})

  • Masking policy - Custom masking condition

  • Example:CASE WHEN dept_id in (${{GET_USER_ATTR_NAMES()}}) THEN {col} ELSE '0' END

  • Policy condition

  • Example:GET_USER_ATTR_NAMES()=='location'