Try this way
Hello Nicolas,
Can you check if your user is of entity account or of another entity probably user.
If it is not of entity account then it will always return empty here.
If it is not this than we have a more interesting problem
Hope this helps
Good luck let me know!
Administration.Account inherits from System.User. So not all users have an Administration.Account, but will have a System.User. An example of this would be the MxAdmin user which doesn't have an Account, but does have a User.
Can you change your logic to use System.User instead of Administration.Account?