Go to the documentation of this file.
29 #define IFS_USER_ROLE_MAP(XX) \
30 XX(None, -, "No assigned role") \
31 XX(Guest, g, "User-type access without authentication") \
32 XX(User, u, "Normal user") \
33 XX(Manager, m, "Perform restricted system functions, reset user passwords, etc.") \
34 XX(Admin, a, "Full access")
37 #define XX(_tag, _char, _comment) _tag,
String toString(IFS::UserRole role)
char getChar(UserRole role)
The String class.
Definition: WString.h:136
#define str(s)
Definition: testrunner.h:124
@ MAX
Actually maxmimum value + 1...
UserRole getUserRole(const char *str, UserRole defaultRole)
#define IFS_USER_ROLE_MAP(XX)
Definition: UserRole.h:48
XX(_tag, _char, _comment)
Definition: DirectoryTemplate.h:36
UserRole
Definition: UserRole.h:55