User class names versus numbers saved in the database. What e_UC_PUBLIC and similar constants mean and what value is saved in the database.
e_UC_PUBLIC | 0 | |
e_UC_MAINADMIN | 250 | |
e_UC_READONLY | 251 | |
e_UC_GUEST | 252 | |
e_UC_MEMBER | 253 | |
e_UC_ADMIN | 254 | |
e_UC_NOBODY | 255 | |
e_UC_ADMINMOD | 249 | Admins (includes main admins) |
e_UC_MODS | 248 | Moderators (who aren't admins) |
e_UC_NEWUSER | 247 | Users in 'probationary' period |
e_UC_BOTS | 246 | Reserved to identify search bots |
e_UC_SPECIAL_BASE | 243 | Assign class IDs 243 and above for fixed/special purposes |
e_UC_SPECIAL_END | 255 | Highest 'special' class |
// 243..245 reserved for future predefined user classes