get self
/self [GET]
API Support | Available since | Last updated | Output |
---|---|---|---|
5.6914 | 5.9500 | json, xml |
Description
Returns the member details for the member that is currently authenticated.
Parameters
No parameters required.
Permission
Only the member herself can invoke this service.
Response
This service returns the extended <member> element and includes the email address and admin flag.
The XML returned is always:
<member id="[member id]" firstname="[first name]" surname="[surname]" username="[username]" status="[activated|unactivated]" [onvacation="true"] [attachments="true"] [created="[date]"] [activated="[date]"] [lastpasswordchange="[date]"] [lastlogin="[date]"] [locked="true"] [admin="true"]> <fullname>[full name]</fullname> </member>
For example:
<member id="123" firstname="Joan" surname="Smith" username="jsmith" status="activated"> <fullname>Joan Smith</fullname> </member>
Error Handling
Code | Cause / Description |
---|---|
0x1029 | A member is not logged in |
0x102A | Member not found |