Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MM.NET Change Password
Message
De
20/05/2013 12:50:57
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01574303
Message ID:
01574311
Vues:
43
>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,

Thanks Kevin,

but how do I know which user to retrieve? Is a reference to the current user stored somewhere?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform