I have placed this in the codebehind of a regular page:
Label3.Text = User.Identity.Name
But if I try to use the User.Identify.Name in the codebehind of a master page (Page_Load), it says:
Compiler Error Message: BC30451: Name 'IsUserInRole' is not declared.
If IsUserInRole(User.Identity.Name, "Admin") Then
What must I do to get this to work within my master page?