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,
#define IFS_USER_ROLE_MAP(XX)
Definition: UserRole.h:29
String toString(IFS::UserRole role)
The String class.
Definition: WString.h:137
Definition: DirectoryTemplate.h:37
UserRole
Definition: UserRole.h:36
XX(_tag, _char, _comment)
@ MAX
Actually maxmimum value + 1...
char getChar(UserRole role)
UserRole getUserRole(const char *str, UserRole defaultRole)
#define str(s)
Definition: testrunner.h:124