Options
All
  • Public
  • Public/Protected
  • All
Menu

Class User

Hierarchy

  • User

Implements

Index

Constructors

constructor

Accessors

context

grantedPermissions

groups

  • This user's group memberships. Some actors will behave differently depending on if the user is in at least one of a set of groups. See GroupMask.

    Returns GroupMask

  • This user's group memberships. Some actors will behave differently depending on if the user is in at least one of a set of groups. See GroupMask.

    Parameters

    Returns void

hasGrantedPermissions

  • get hasGrantedPermissions(): boolean

id

name

  • get name(): string

properties

  • get properties(): {}
  • A grab bag of miscellaneous, possibly host-dependent, properties.

    Returns {}

Methods

prompt

  • prompt(text: string, acceptInput?: boolean): Promise<DialogResponse>
  • Present the user with a modal dialog, and resolve with the response.

    Parameters

    • text: string

      A message presented to the user.

    • Default value acceptInput: boolean = false

      Whether or not the dialog should include a text input field.

    Returns Promise<DialogResponse>