Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MM.NET Change Password
Message
 
À
20/05/2013 10:47:07
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01574303
Message ID:
01574310
Vues:
58
Frank,

>I'm using MM.NET 4.0 in a WPF application on VS2010.
>
>I need to create a Change Password form as that apparently did not come as part of the framework.
>
>I see reference to mmUser and mmUserSecurity, etc, but I do not know how I can use these to do the following:
>
>1. Verify that the password entered on a form is the correct password for the currently logged in user.
>
>2. Change the password for the current user o the newly entered one.
>
>Is there any guidance on this in the documentation?

If you check out the help topic "Security Business Objects" under the section "mmUserManager" you will see there is an AuthenticateUser() method you can use to authenticate the user given a user id and password.

You can use the mmUser object to retrieve a user, then you can update the password and save the user.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform