Thread:Project:Support desk/$wgUser deprecated/reply (3)

It depends on where in the code you want to access this information. On a special page, for instance, one can use.

What exactly are you trying to do?