Home Reference Source Repository
import User from 'tsugi-node/src/core/User.js'
public class | source

User

This captures all of the user data associated with the LTI Launch.

Constructor Summary

Public Constructor
public

constructor(id: number, email: string, displayname: string, role: number, mentor: boolean)

Member Summary

Public Members
public get
public set
public get

email: *

public set

email: *

public get

id: *

public set

id: *

public get
public set

mentor: *

public get

mentor: *

public get

role: *

public set

role: *

public get
public get

Public Constructors

public constructor(id: number, email: string, displayname: string, role: number, mentor: boolean) source

Params:

NameTypeAttributeDescription
id number
email string
displayname string
role number
mentor boolean

Public Members

public get displayname: * source

public set displayname: * source

public get email: * source

public set email: * source

public get id: * source

public set id: * source

public get instructor: * source

public set mentor: * source

public get mentor: * source

public get role: * source

public set role: * source

public get rootAdmin: * source

public get tenantAdmin: * source