Security Operators
Security operators are used to filter results based on the identity of the user currently logged into the Brinqa Platform.
Use these operators with user-related attributes, such as Person
, or calculated attributes that return a user.
Current user refers to the person who is actively logged in and running the query in the Brinqa Platform.
IS CURRENT USER
Use IS CURRENT USER
to check whether an attribute value matches the current logged-in user.
FIND Person AS p
THAT OWNS Asset AS a
WHERE p IS CURRENT USER
The above query returns all assets that are owned by the current user based on the OWNS
relationship.
NOT IS CURRENT USER
Use NOT IS CURRENT USER
to filter out records where the attribute matches the current logged-in user.
FIND Person AS p
THAT OWNS Asset AS a
WHERE p NOT IS CURRENT USER
The above query returns all assets that are not owned by the current user.