last created userID

  • Thread starter Thread starter Keith G Hicks
  • Start date Start date
K

Keith G Hicks

Asp.net 2.0 - coding in VB

I'm trying to get the UserID of the last created user so I can use the value
in another table. I'm not finding anything otu there that works for what I'm
trying to do.

I want the value of teh UserID column in the aspnet_Users table. I'm using
the CreateUserWizard and have tried to get the UserID in its CreatedUser
event handler. Everything I come up with is the user that was created
previously.

I need clear details since I'm very new at this.

THanks for any help,

Keith
 
Well I'm really surprised nobody's answered this one yet but I think I know
what to do. I'm still trying to learn as much of this as I can. I guess if I
know the user name of the new user, I can write some sql code to get the
value of the UserID column. Not sure why I didn't think of that before but I
guess I figured the UserID would be a simple Membership property.

Keith
 
Back
Top