Not sure that would work as posted. I think the @UserID would have to be escaped to prevent KiX expanding it.

Another approach would be to get the users' home folder name in 8.3 format and use it as the ID.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.