Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass AddBrokenRule to ProcessObj
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01159238
Message ID:
01159952
Vues:
15
Thomas,

>I have build a BusinessProcess Object, that handles the User Login process (to change passwords after several logins etc.).
>One registered BizObj is mmUserManager. No I have the problem, that the AddBrokenRule from the UserManager for a failed login is not passed to the BrokenRulesObject of the Process object. It looks like that only brokenrules added via AddErrorProviderBrokenRule() are passed to the process object.
>
>Any ideas how to get the broken rule from the mmUserManager into the process object?

I see your point on this one...I've added your observation to our "to do" list for our upcoming MM .NET 2.3 release. You can get around it for now by subclassing mmUserManager, overriding the AuthenticateUser method and adding the broken rule using AddErrorProviderBrokenRule() if the method returns false.

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
Répondre
Fil
Voir

Click here to load this message in the networking platform