If you do not have the membership configured for your site, getuser () will not do anything.
Context.user is the identity passed in at asp.net runtime and will give the user if authentication is configured for the site other than anonymous access.
source
share