membershipuser contrlos and sql db userid
-
I have a database(mydb) with userid fild data. and i want to use AspLogin control and other control that manage membership that uses aspnetdb of asp.net application. so how i can use the userid of aspnetdb and bring it in my own database(mydb) when the users loged in ? thanks
-
I have a database(mydb) with userid fild data. and i want to use AspLogin control and other control that manage membership that uses aspnetdb of asp.net application. so how i can use the userid of aspnetdb and bring it in my own database(mydb) when the users loged in ? thanks
You have a couple of options: 1. When a new user is created you can hook into the event, get the Guid and username and post that into your database then. 2. Use Membership.User.Guid (I think thats it, better double check), this returns the Guid of the current logged in user.
-
You have a couple of options: 1. When a new user is created you can hook into the event, get the Guid and username and post that into your database then. 2. Use Membership.User.Guid (I think thats it, better double check), this returns the Guid of the current logged in user.
-
thanks for your attention. but there isnt any member or method like Membership.User.Guid anyway thanks again goodluck