DatabasePrincipal interface

A class representing database principal entity.

Properties

appId

Application id - relevant only for application principal type.

email

Database principal email if exists.

fqn

Database principal fully qualified name.

name

Database principal name.

role

Database principal role.

tenantName

The tenant name of the principal

type

Database principal type.

Property Details

appId

Application id - relevant only for application principal type.

appId?: string

Property Value

string

email

Database principal email if exists.

email?: string

Property Value

string

fqn

Database principal fully qualified name.

fqn?: string

Property Value

string

name

Database principal name.

name: string

Property Value

string

role

Database principal role.

role: string

Property Value

string

tenantName

The tenant name of the principal

tenantName?: string

Property Value

string

type

Database principal type.

type: string

Property Value

string