Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UserEntityInterface

Hierarchy

  • UserEntityInterface

Index

Properties

Readonly email

email: string

Optional email address of the user.

Readonly firstName

firstName: string

Optional first name of the user.

Readonly id

id: number

ID of the user.

Readonly lastName

lastName: string

Optional last name of the user

Readonly username

username: string

Login name of the user.

Methods

isAdmin

  • isAdmin(): boolean
  • Checks if the user is a global administrator.

    Returns boolean

isGuest

  • isGuest(): boolean
  • Checks if the user is a guest, i.e. not logged in.

    Returns boolean

isSiteAdmin

  • Checks if the user is a site adminstrator on the provided site.

    Parameters

    Returns boolean

Generated using TypeDoc