Context.User.Identity.Name : Context « Development « ASP.NET Tutorial






<%@ Page Language="vb" %>
<html>
   <head>
      <title>Context property example</title>
      <script runat="server">
         Sub Page_Load()
            Message.Text = "Currently logged in as: " & _
               Context.User.Identity.Name
         End Sub
      </script>
   </head>
<body>
   <asp:label id="Message" runat="server"/>
</body>
</html>








9.8.Context
9.8.1.Context.User.Identity.Name
9.8.2.Context.AddError
9.8.3.Context.GetConfig
9.8.4.Context.IsCustomErrorEnabled
9.8.5.Context.IsDebuggingEnabled
9.8.6.Context.Items
9.8.7.Context.SkipAuthorization
9.8.8.Context.Timestamp
9.8.9.Context.Trace.IsEnabled