|
-
Dec 2nd, 2008, 06:14 PM
#1
Thread Starter
Addicted Member
[RESOLVED] [2008] Asp Membership Provider Set Up for Windows Form, how do I check CreateUser success?
I've got my Windows Form to correctly function with ASP.Net 2.0's membership provider and my membership database that I am using on my Asp.net web application.
The user's get entered just fine through my forms.
However, I when the user creation is completed successfully and successfully added to the declared role, I want to pop up a new Form with the username, email, and default password to hand out to the individual.
How do I check for this event to pop up my form load event?
I tried an If MembershipCreateStatus.Success = True after my user creation but it didn't flag any event.
Should I do a Try Catch block and do an If MembershipCreateStatus = True within that to load up the other form? Or how would I go about accomplishing this?
Also, if I wanted the user to change the default password on their first login I would just pass a check against the CreateDate and LastPasswordChangedDate and if they are = force them to change their password?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|