How to get of last created user using CreateUserWizard?

From: Rodusa (rclwebdesign_at_yahoo.com)
Date: 07/22/05

  • Next message: Brock Allen: "Re: How to get of last created user using CreateUserWizard?"
    Date: 22 Jul 2005 14:44:06 -0700
    
    

    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


  • Next message: Brock Allen: "Re: How to get of last created user using CreateUserWizard?"