OmniSciDB  06b3bd477c
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Catalog_Namespace::UserMetadata Struct Reference

#include <SysCatalog.h>

+ Collaboration diagram for Catalog_Namespace::UserMetadata:

Public Member Functions

 UserMetadata (int32_t u, const std::string &n, const std::string &p, bool s, int32_t d, bool l)
 
 UserMetadata ()
 
 UserMetadata (UserMetadata const &user_meta)
 

Public Attributes

int32_t userId
 
std::string userName
 
std::string passwd_hash
 
std::atomic< bool > isSuper {false}
 
int32_t defaultDbId
 
bool can_login {true}
 

Detailed Description

Definition at line 72 of file SysCatalog.h.

Constructor & Destructor Documentation

Catalog_Namespace::UserMetadata::UserMetadata ( int32_t  u,
const std::string &  n,
const std::string &  p,
bool  s,
int32_t  d,
bool  l 
)
inline

Definition at line 73 of file SysCatalog.h.

79  : userId(u)
80  , userName(n)
81  , passwd_hash(p)
82  , isSuper(s)
83  , defaultDbId(d)
84  , can_login(l) {}
std::atomic< bool > isSuper
Definition: SysCatalog.h:96
Catalog_Namespace::UserMetadata::UserMetadata ( )
inline

Definition at line 85 of file SysCatalog.h.

85 {}
Catalog_Namespace::UserMetadata::UserMetadata ( UserMetadata const &  user_meta)
inline

Definition at line 86 of file SysCatalog.h.

87  : UserMetadata(user_meta.userId,
88  user_meta.userName,
89  user_meta.passwd_hash,
90  user_meta.isSuper.load(),
91  user_meta.defaultDbId,
92  user_meta.can_login) {}

Member Data Documentation

bool Catalog_Namespace::UserMetadata::can_login {true}
int32_t Catalog_Namespace::UserMetadata::defaultDbId
std::string Catalog_Namespace::UserMetadata::passwd_hash

The documentation for this struct was generated from the following file: