I have added a new custom field in CMS_UserSettings table. The form control type is Multiple Choice. The data source for the control is set to a SQL Query. I would like to be able to populate the items in the control based on the selected user (Administration > Users). NOT the current user. Anyone know the syntax for this? Is it possible?
Here's my sample which pulls in the current users attribute. I need this to be the selected user.
SELECT ItemID, dealerNumber + ' - ' + dealerTitle
FROM cPort_DealerLocation
WHERE culliganGroupID = {%CurrentUser.culliganGroupID%}
ORDER BY ItemID
Thanks!