FranzG
6 years agoGenius
Get Moderator preferences via API?
Anybody know if it's possible to get these settings (preferences) for a user via the Community APIs or maybe user context? I looked through the settings that come from the settings apis as ...
- 6 years ago
FranzG yes, you can get those, but it's (as usual) a bit difficult because the setting keys are not obvious... try these queries (you can use '*' to get more fields, but I found the user.derived the most useful/clear):
"SELECT user.derived FROM settings WHERE id = 'layout.mark_messages_read_by_moderator' AND user.id = '<user.id>'" "SELECT user.derived FROM settings WHERE id = 'layout.show_mod_flag_column' AND user.id = '<user.id>'"