SmartFoxServer 3 C++ Client API 3.1.0-beta
Client API for SmartFoxServer 3
Loading...
Searching...
No Matches
UserPrivileges.h File Reference

Doxygen only documents namespace-scope entities (enums, aliases, constants, free functions) in a header that carries this block. More...

#include <cstdint>

Enumerations

enum class  sfs3::entities::UserPrivileges : int32_t { GUEST = 0 , STANDARD = 1 , MODERATOR = 2 , ADMINISTRATOR = 3 }
 The default user types known by SmartFoxServer. More...

Detailed Description

Doxygen only documents namespace-scope entities (enums, aliases, constants, free functions) in a header that carries this block.

Enumeration Type Documentation

◆ UserPrivileges

enum class sfs3::entities::UserPrivileges : int32_t
strong

The default user types known by SmartFoxServer.

The server assigns one of these values, or a custom one, as the privilege id of a user when he logs in.

See also
User::getPrivilegeId
Enumerator
GUEST 

The Guest user is usually the lowest level in the privilege profiles scale.

STANDARD 

The standard user is usually registered in the application custom login system.

MODERATOR 

The moderator user can send "moderator messages", kick and ban users.

ADMINISTRATOR 

The administrator user can send "administrator messages", kick and ban users.