User
Definition
An user entity in Reflag is used to store the details of an user that interacted with your application. Users are normally part of one or more companies. It is mandatory that the user be part of a company, otherwise user's interactions are not taken into account.
Attributes
An user entity is essentially a collection of attributes. Each attribute is a key — value pair supplied by your application. There is one mandatory attribute each user must have: ID
, and three special attributes Reflag uses in its UI for convenience: email
, name
and avatar
. It is up to you to provide whichever attributes you deem necessary.
Reflag manages a set of computed attributes when you send data to Reflag:
First seen
andLast seen
denote the first and last time the company-related interactions have been sent to Reflag,Event count
is updated any time there is a new event received referencing the user.
Do not include PII data when sending in user attributes. It is recommended that any sensitive data should be hashed or otherwise not included.
Next steps
Learn how to define feature access rules using user attributes within Reflag UI.
Last updated
Was this helpful?