Multiple choice technology web technology

In ASP.NET in form page the object which contains the user name is ______ ?

  1. Page.User.Identity

  2. Page.User.IsInRole

  3. Page.User.Name

  4. None of the Above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Page.User.Identity is correct because it provides the identity information of the authenticated user, including the username. Page.User.IsInRole (B) checks role membership but doesn't return the name, and Page.User.Name (C) is not a valid property. The Identity object contains the Name property that holds the username.