Skip to main content

Privacera Documentation

Summary

Macro

With default value

Description

Example return value

GET_UG_NAMES_Q()

GET_UG_NAMES_Q('none')

Names of groups (in single quotes) the user belongs to,

separated by a comma

‘analyst’,’manager’

GET_UG_NAMES()

GET_UG_NAMES('none')

Names of groups the user belongs to,

separated by a comma

analyst,manager

GET_UG_ATTR_NAMES_Q()

GET_UG_ATTR_NAMES_Q('none')

Names of all attributes (in single quotes) in groups the user

belongs to, separated by a comma

‘dept’,’site’

GET_UG_ATTR_NAMES()

GET_UG_ATTR_NAMES('none')

Names of all attributes in groups the user

belongs to, separated by a comma

dept,site

GET_UG_ATTR_Q('site')

GET_UG_ATTR_Q('site', 'none')

Attribute value (in single quotes) in groups the user belongs

to, separated by a comma

‘10’,’20’

GET_UG_ATTR('site')

GET_UG_ATTR('site', 'none')

Attribute value in groups the user belongs

to, separated by a comma

10,20

GET_USER_ATTR_NAMES()

GET_USER_ATTR_NAMES('none')

Names of all attributes of the user,

separated by a comma

name,email

GET_USER_ATTR_NAMES_Q()

GET_USER_ATTR_NAMES_Q('none')

Names of all attributes (in single quotes) of the user,

separated by a comma

‘name’,’email’

GET_USER_ATTR('email')

GET_USER_ATTR('email', 'none')

Value of user attribute

name@domain

GET_USER_ATTR_Q('email')

GET_USER_ATTR_Q('email', 'none')

Value of user attribute (in single quotes)

‘name@domain’

GET_UR_NAMES()

GET_UR_NAMES('none')

Names of roles assigned to the user,

separated by a comma

data-steward,admin

GET_UR_NAMES_Q()

GET_UR_NAMES_Q('none')

Names of roles (in single quotes) assigned to the user,

separated by a comma

‘data-steward’,’admin’