Hi all,
I am using the default ASPNET membership provider.
I have added 1 table called profile to store in some user infos.
My first question will be to know how to link them with the primary Key and foreign key.
The UserID in the users table seam to be encrypted so before running into the trouble I prefer to ask.
(please dont tell me to go on 4 guyz from rolla...)
Now let say I figure this out which is not the case.
I want to filter some datas depending on the user him self not the role where he belongs to.
I guess I need to make in my SQL statement " WHERE UserID = @UserID.
but then how can I retrieve this UserID from the user which is logged on.
I've tried session but... did not work.
Anyway, any help will be appreicated.
Thanks