openDAQ
Open data acquisition platform
UserPtr Class Reference

An immutable structure which describes an openDAQ user. It holds username, password as a hash string and a list of groups assigned to the user. More...

Inherits ObjectPtr< IUser >.

Detailed Description

An immutable structure which describes an openDAQ user. It holds username, password as a hash string and a list of groups assigned to the user.

Public Member Functions

daq::StringPtr getUsername () const
 Returns the username as a string. More...
 
daq::ListPtr< daq::IString > getGroups () const
 Returns a list of group IDs which the user belongs to. More...
 

Member Function Documentation

◆ getGroups()

daq::ListPtr<daq::IString> getGroups ( ) const
inline

Returns a list of group IDs which the user belongs to.

Parameters
password[out]groups The list of group IDs which the user belongs to.

◆ getUsername()

daq::StringPtr getUsername ( ) const
inline

Returns the username as a string.

Parameters
username[out]The username.