• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 382
  • Last Modified:

how to get the currently logged in user from aspnet_users table

I want to get the currently logged in user from aspnet_Users table. Any idea
0
Ammar Iqbal
Asked:
Ammar Iqbal
1 Solution
 
Carl TawnSystems and Integration DeveloperCommented:
You can just do it programmatically via the Membership provider:

    System.Web.Security.MembershipUser user = System.Web.Security.Membership.GetUser();     // gets the current user
0
 
Ammar IqbalSenior IT Consultant/senior Software engineerAuthor Commented:
thanks
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now