iberbox  2.1.1
iberbox::UserInfoData Class Reference

The user info data class. More...

Collaboration diagram for iberbox::UserInfoData:

Public Member Functions

uint64_t getCreationTime () const
 Gets the user creation time. More...
 
std::string getEmail ()
 Gets the email of the user. More...
 
std::string getFirstName ()
 Gets the first name of the user. More...
 
const UserHandlegetHandle () const
 Gets the user handle. More...
 
UserId getId () const
 Gets the user identifier. More...
 
std::string getLastName ()
 Gets the last name of the user. More...
 
bool hasMultiFactorAuthEnabled () const
 Gets whether the account has multifactor authentication enabled. More...
 
 UserInfoData ()
 Constructs a new User Info Data object. More...
 
virtual ~UserInfoData ()
 

Static Public Attributes

static const UserHandle INVALID_HANDLE
 
static const UserId INVALID_ID
 

Detailed Description

The user info data class.

Constructor & Destructor Documentation

◆ UserInfoData()

iberbox::UserInfoData::UserInfoData ( )

Constructs a new User Info Data object.

◆ ~UserInfoData()

virtual iberbox::UserInfoData::~UserInfoData ( )
virtual

Member Function Documentation

◆ getCreationTime()

uint64_t iberbox::UserInfoData::getCreationTime ( ) const

Gets the user creation time.

Returns
The timestamp when the user was created.

◆ getEmail()

std::string iberbox::UserInfoData::getEmail ( )

Gets the email of the user.

Returns
The email of the user.

◆ getFirstName()

std::string iberbox::UserInfoData::getFirstName ( )

Gets the first name of the user.

Returns
The first name of the user.

◆ getHandle()

const UserHandle& iberbox::UserInfoData::getHandle ( ) const

Gets the user handle.

Returns
The user handle.

◆ getId()

UserId iberbox::UserInfoData::getId ( ) const

Gets the user identifier.

Returns
The user identifier.

◆ getLastName()

std::string iberbox::UserInfoData::getLastName ( )

Gets the last name of the user.

Returns
The last name of the user.

◆ hasMultiFactorAuthEnabled()

bool iberbox::UserInfoData::hasMultiFactorAuthEnabled ( ) const

Gets whether the account has multifactor authentication enabled.

Returns
true if multifactor authentication is enabled for the user.
false if multifactor authentication is enabled for the user.

Member Data Documentation

◆ INVALID_HANDLE

const UserHandle iberbox::UserInfoData::INVALID_HANDLE
static

◆ INVALID_ID

const UserId iberbox::UserInfoData::INVALID_ID
static

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