24#ifndef USER_TABLE_INCLUDED
25#define USER_TABLE_INCLUDED
uint32_t Access_bitmask
Definition: auth_acls.h:34
An interface to access information about Multi factor authentication methods.
Definition: sql_mfa.h:45
Container of all restrictions for a given user.
Definition: partial_revokes.h:155
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:34
Definition: user_table.h:47
ulong m_what
Definition: user_table.h:50
ulong m_user_attributes
Definition: user_table.h:51
Pod_user_what_to_update()
Definition: user_table.h:49
#define L
Definition: ctype-tis620.cc:76
Some integer typedefs for easier portability.
Definition: acl_table_base.h:33
const ulong USER_ATTRIBUTE_NONE
Definition: user_table.h:38
const ulong USER_ATTRIBUTE_UPDATE_MFA
Definition: user_table.h:45
const ulong USER_ATTRIBUTE_RETAIN_PASSWORD
Definition: user_table.h:39
const ulong USER_ATTRIBUTE_DISCARD_PASSWORD
Definition: user_table.h:40
const ulong USER_ATTRIBUTE_FAILED_LOGIN_ATTEMPTS
Definition: user_table.h:42
const ulong USER_ATTRIBUTE_RESTRICTIONS
Definition: user_table.h:41
const ulong USER_ATTRIBUTE_PASSWORD_LOCK_TIME
Definition: user_table.h:43
int replace_user_table(THD *thd, TABLE *table, LEX_USER *combo, Access_bitmask rights, bool revoke_grant, bool can_create_user, acl_table::Pod_user_what_to_update &what_to_update, Restrictions *restrictions=nullptr, I_multi_factor_auth *mfa=nullptr)
Search and create/update a record for the user requested.
Definition: acl_table_user.cc:2129
bool read_user_table(THD *thd, TABLE *table)
Read data from user table and fill in-memory caches.
Definition: acl_table_user.cc:2220