Skip to main content

AdminUser

Properties

dbUser

dbUser: any

User record fetched from database, from resource defined in AdminForthConfig.auth.usersResourceId


isExternalUser?

optional isExternalUser: boolean

Flag which indicates that this user is not real user from database, but external user from e.g. custom website. True here is not possible in AdminForth built-in functions, auth middleware etc. True value is only possible in your need to tell AdminForth that this is not real "fake" admin user


pk

pk: string

primaryKey field value of user in table which is defined by AdminForthConfig.auth.usersResourceId


username

username: string

Username which taken from AdminForthConfig.auth.usernameField field in user resource AdminForthConfig.auth.usersResourceId