OmniSciDB  29e35f4d58
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 73 of file SysCatalog.h.

Constructor & Destructor Documentation

◆ UserMetadata() [1/3]

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 74 of file SysCatalog.h.

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

◆ UserMetadata() [2/3]

Catalog_Namespace::UserMetadata::UserMetadata ( )
inline

Definition at line 86 of file SysCatalog.h.

86 {}

◆ UserMetadata() [3/3]

Catalog_Namespace::UserMetadata::UserMetadata ( UserMetadata const &  user_meta)
inline

Definition at line 87 of file SysCatalog.h.

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

Member Data Documentation

◆ can_login

bool Catalog_Namespace::UserMetadata::can_login {true}

◆ defaultDbId

int32_t Catalog_Namespace::UserMetadata::defaultDbId

◆ isSuper

◆ passwd_hash

std::string Catalog_Namespace::UserMetadata::passwd_hash

◆ userId

◆ userName


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