It's a common phenomenon on these mailing lists to find the obvious solution three seconds after posting the problem. self.REQUEST was the solution for me. I can find the realname there at the point when the homepage is being generated.