i'm using asp.net membership for logins/registeration. i have a bookings table with few fields, lets say first_name, last_name, product_name and userID.
when the user submits 'buy' i want to get the userID from the membership user tablem that way i know whose made the booking. i'll have these two tables (bookings & user tables) linked
but how do i get userID from the user table to pass to bookings table? i checked the membership class and it gives options like
-Membership.GetUser(), Membership.GetUserNameByEmail(), Membership.GetAllUsers() etc
nothing for getting user id. user id is stored like this: c1c91682-449f-45dd-b20e-3dac5315bba4
some suggestions how to do this, plz?
View Complete Post