Tchatator413
TripEnArvor instant messaging protocol - JSON-based
Loading...
Searching...
No Matches
Data Fields
user_identity_t Struct Reference

Information about the identity of an user. More...

#include <types.h>

Data Fields

role_flags_t role
 The roles of the user.
 
serial_t id
 The ID of the user or 0 for the administrator.
 

Detailed Description

Information about the identity of an user.

Definition at line 47 of file types.h.

Field Documentation

◆ id

serial_t user_identity_t::id

The ID of the user or 0 for the administrator.

Note
Invariant : if the value is 0, user_identity_t::role contains the flag role_flags_t.role_admin

Definition at line 52 of file types.h.

◆ role

role_flags_t user_identity_t::role

The roles of the user.

Definition at line 49 of file types.h.


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