Schema for the user context of a session.

interface UserContext {
    db?: string;
    name: string;
    roles: string[] | Roles[];
}

Properties

Properties

db?: string

Database name in the context of the provided operation.

name: string

User name.

roles: string[] | Roles[]

List of user roles.

Generated using TypeDoc