User
Direct Subclass:
Member Summary
Public Members | ||
public |
The type of account. |
|
public |
The user's email address. |
|
public |
Whether the user has activated their account yet. |
|
public |
Whether the user has uploaded an avatar. |
|
public |
Whether the user has registered yet. |
|
public |
The user's unique ID (16 characters long, and starts with U). |
|
public |
Whether the user is an administrator - giving them access to the Admin API (experimental). |
|
public |
The last time the user logged into PageProof. |
|
public |
The last time the user uploaded a proof to PageProof. |
|
public |
The user's display name. This can be changed by the user on the profile page. |
|
public |
The date/time the user registered to PageProof. |
|
public |
The team type. |
Public Members
public accountType: number source
The type of account.
The possible values for this property are;
- 0 (free)
- 1 (premium)
public hasRegistered: boolean source
Whether the user has registered yet.
This property is used in PageProof to determine whether to display the user's avatar with a dotted outline.
public isAdmin: boolean source
Whether the user is an administrator - giving them access to the Admin API (experimental).
public name: string source
The user's display name. This can be changed by the user on the profile page.