I have a login control on my web form. when the user is authenticated, all i can get is the username via
this
.User.Identity.Name.ToString();
The db that contains all the users, as set up using aspnet_regsql.exe. The database that stores all the photos is a seperate db. To get data from this db i need the userID Rather than running a query after authentication to gain the userID, is it returned at authentication, or is it just the username thats returned?