This code all works in Radzen Studio and it seems the only thing that is stopping if from working is getting the Security.User.AccountID into a variable.
Hey @daveg1466,
On your screenshot there are one local variable in the method and one field declared for the class with the same name. Again, check carefully your code before asking for support.