3
How do I get the logged in user id on the site, then insert it into another table?
Trying to explain better. I have an action called Criapub, which allows the user to write their publications on the site. In my publications table, has the user id, which is mandatory, for me to know who published on the site. My idea, is when the user click to create publications, this field of the table publications, receive the Id of the user logged in, thus allowing the.
I believe this can help: http://stackoverflow.com/a/25453584/2263584 Although . NET is already in version 4.5, I think this should still work.
– Oralista de Sistemas
@Tiagosilva I’m using Membership.
– Ryan Santos