In an ASP.NET web form, which object holds the information about the current user's username?

Choose the correct answer

Explanation

In ASP.NET, the Page.User.Identity object contains details about the authenticated user, including the username. While Page.User.IsInRole checks user roles and Page.User.Name is not a valid property, Page.User.Identity is the correct object to access the username.

In an ASP.NET web form, which object holds the infor… — ASP.net | PakQuizHub