DbPrincipal class abstract

Represents a user that performs operations on a database.

Constructors

DbPrincipal()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tenantKey String
Identifies the tenant to which the user belongs
no setter
userKey String
identifies the user uniquely amongst all other users from the same tenant, which is identified in tenantKey
no setter

Methods

hasPermission(String permission) bool
Returns a value indicating whether the user has a permission permission.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited