Home Manual Reference Source
public class | source

User

Direct Subclass:

WorkflowUser

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 email: string source

The user's email address.

public hasActivated: boolean source

Whether the user has activated their account yet.

public hasAvatar: boolean source

Whether the user has uploaded an avatar.

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 id: string source

The user's unique ID (16 characters long, and starts with U).

public isAdmin: boolean source

Whether the user is an administrator - giving them access to the Admin API (experimental).

public lastLoginDate: Date source

The last time the user logged into PageProof.

public lastUploadDate: Date source

The last time the user uploaded a proof to PageProof.

public name: string source

The user's display name. This can be changed by the user on the profile page.

public registeredDate: Date source

The date/time the user registered to PageProof.

If the user has not yet registered, this value is null. User's can be not-registered if somebody else on invited them to PageProof, but they have not yet logged in.

public teamType: number source

The team type.

The possible values for this property are;

  • 0 (not in a team)
  • 1 (teams)