getting the userID with standard membership

liunx

Guest
Hey guys how do you do this?

get the userid from the standard built in user ID?

is there some code that does it or do I have to get it when i need to use it as all I have found so far is how to get the username.

i basically need the userID to use in other tables..

if i have to get it can i do the following.

insert into ticket values ((select UserID from aspnet.user where username = Admin), 2)

is that even possible can anyone give me an example of getting the users ID.
 
Back
Top