Hi; I’m new to dreamfactory.
I wonder if I can generate / update a custom user field with some predefined values based on the role the user is;
if user Role = Employee --> Update / Generate custom field of all users which are in Role “Employee” with value XX
if user Role = Sales --> Update / Generate custom fields of all users which are in Role “Sales” with value XY
As far as I read script has to be probably in system.roles.update but I don’t know if it’s possible to write user custom fields with server side scripting?
Did somebody try sth similar?