Hey eggy,
Yes, that code is in C#...if you're using C#, then "this" should always be defined even if it doesn't give you access to this.User...because everything is within classes in .NET...However, I know next to nothing about VB, though, so if it's VB, I don't know what you'd put there...