R
Rodusa
Could someone please recommend the best way and how to obtain the last
inserted userid of users (security) table using the Button click event
of CreateUserWizard? In classic Asp and Asp.net 1.x I used the
@@identity to get the last inserted record of my custom table, but now
I don't know how Asp.net does that. I would like to understand how it
works behind the scenes, the sequence of processing. I saw that there
is an event called createuser in CreateUserWizard control which is
fired after the user is created. Is this the best place to implement
the get the last userid? In addition, is it safe? Does it garantee
that no other user will get that userid and that locks that value to
used in this same event?
Thanks
Rod
inserted userid of users (security) table using the Button click event
of CreateUserWizard? In classic Asp and Asp.net 1.x I used the
@@identity to get the last inserted record of my custom table, but now
I don't know how Asp.net does that. I would like to understand how it
works behind the scenes, the sequence of processing. I saw that there
is an event called createuser in CreateUserWizard control which is
fired after the user is created. Is this the best place to implement
the get the last userid? In addition, is it safe? Does it garantee
that no other user will get that userid and that locks that value to
used in this same event?
Thanks
Rod