|
PACS System 0.1.0
PACS DICOM system library
|
Represents a user in the system. More...
#include <user.h>

Public Member Functions | |
| bool | has_role (Role role) const |
| Check if user has a specific role. | |
Public Attributes | |
| std::string | id |
| std::string | username |
| std::vector< Role > | roles |
| bool | active {true} |
|
inline |
Check if user has a specific role.
Definition at line 35 of file user.h.
References roles.
Referenced by kcenon::pacs::security::user_context::has_role().

| bool kcenon::pacs::security::User::active {true} |
Definition at line 30 of file user.h.
Referenced by kcenon::pacs::security::user_context::anonymous_context(), kcenon::pacs::security::user_context::is_valid(), and kcenon::pacs::security::user_context::system_context().
| std::string kcenon::pacs::security::User::id |
| std::vector<Role> kcenon::pacs::security::User::roles |
Definition at line 29 of file user.h.
Referenced by kcenon::pacs::security::user_context::anonymous_context(), has_role(), and kcenon::pacs::security::user_context::system_context().
| std::string kcenon::pacs::security::User::username |
Definition at line 28 of file user.h.
Referenced by kcenon::pacs::security::user_context::anonymous_context(), and kcenon::pacs::security::user_context::system_context().