CreateUserWizar

D

Diego

Cerco un modo per aggirare il problema di cui al mio post precedente (vedi
sotto): Esiste un modo di farmi tornare il MembershipUser appena creato da
un CreateUserWizard? Ho controllato nell'evento onCreatedUser ma sembra che
eventargs sia vuoto e che sopratutto non contenga il MemberShipUser che mi
server.
Saluti, Diego.
 
D

Diego

Sorry, wrong language.

I'm trying to override the problem abow : How can I have the MembershipUser
created by a CreateUserWizard? I've checked the onCreatedUser event but
eventargs does not contain the MemberShipUser.
Bye, Diego.
 
B

Brock Allen

You can handle the CreateUserWizard's CreatedUser event, then get the CreateUserWizard's
UserName property to pass into Membership.GetUser method.
 
D

Diego

I'd like to avoid another call to the db, when i create the user i allready
have (in the membershipprovider) the uniqueid.
Thanks, Diego.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top