VP_EVENT_USER_ATTRIBUTES
Jump to navigation
Jump to search
Event set and handler snippet
vp_event_set(instance, VP_EVENT_USER_ATTRIBUTES, event_user_attributes);
void event_user_attributes(VPInstance instance) { }
Received after a successful call to vp_user_attributes_by_id()
or vp_user_attributes_by_name()
.
Attributes
Attribute | Usage | |
---|---|---|
Data of the requested user: | ||
VP_USER_ID | ID number | |
VP_USER_REGISTRATION_TIME | Registration timestamp | |
VP_USER_ONLINE_TIME | Amount of time online | |
VP_USER_LAST_LOGIN | Unused - Last login timestamp | |
VP_USER_NAME | Canonical login name | |
VP_USER_EMAIL | E-mail address |
Behavior
VP_USER_EMAIL
is blank if the requesting client's user ID does not match that of the requested user
Caveats
VP_USER_ONLINE_TIME
may be an inaccurate measure of how much time the user has clocked online
Examples
- This event has no usage examples; please add at least one to this page