User
User resources represent users in Expert including community members, authors, and administrators.
<user anonymous="{anonymous}" id="{id}" href="https://{hostname}/@api/deki/users/{id}" guid="{guid}">
<nick>{username}</nick>
<username>{username}</username>
<fullname>{fullname}</fullname>
<email>{email}</email>
<password exists="{password/@exists}"/>
<license.seat owner="{license.seat/@owner}">{license.seat}</license.seat>
<date.created>{date.created}</date.created>
<status>{status}</status>
<date.lastlogin>{date.lastlogin}</date.lastlogin>
<hash.email>{hash.email}</hash.email>
<uri.gravatar>{uri.avatar}</uri.gravatar>
<uri.avatar>{uri.avatar}</uri.avatar>
</user>
| Name | Type | Description |
|---|---|---|
| {id} | int | Local user id |
| {guid} | string | Global user id |
| {hostname} | string | The Expert site hostname |
| {anonymous} | bool | Is the user an anonymous user (not signed in)? |
| {username} | string | User's sign-in name |
| {fullname} | string | User's display name |
| {email} | string | User's email address |
| {password/@exists} | bool | Does the user have a password set? |
| {license.seat/@owner} | bool | Is the user a site owner? |
| {license.seat} | bool | Is the user a pro member? |
| {date.created} | datetime | ISO 8601 representation of the user account's creation timestamp |
| {date.lastlogin} | datetime | ISO 8601 representation of the last time the user signed in |
| {status} | bool | Is the user active and able to sign in? |
| {hash.email} | string | An MD5 representation of the user's email address |
| {uri.avatar} | uri | A URL to a Gravatar, mapped to the user's email address |

