VP EVENT USER ATTRIBUTES: Difference between revisions
Jump to navigation
Jump to search
Roy Curtis (talk | contribs) Created page with "{{sdk event page|USER_ATTRIBUTES|Received after a successful call to {{sdk function|user_attributes_by_id}} or {{sdk function|user_attributes_by_name}}. |attributes= {{sdk a..." |
m changed USER_ONLINE_EMAIL to USER_EMAIL |
||
Line 9: | Line 9: | ||
{{sdk attribute row|string|USER_EMAIL |E-mail address}} | {{sdk attribute row|string|USER_EMAIL |E-mail address}} | ||
|behavior= | |behavior= | ||
* {{sdk attribute| | * {{sdk attribute|USER_EMAIL}} is blank if the requesting client's user ID does not match that of the requested user | ||
|caveats= | |caveats= | ||
* {{sdk attribute|USER_ONLINE_TIME}} may be an inaccurate measure of how much time the user has clocked online | * {{sdk attribute|USER_ONLINE_TIME}} may be an inaccurate measure of how much time the user has clocked online |
Latest revision as of 08:32, 26 August 2013
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