Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass AddBrokenRule to ProcessObj
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01159238
Message ID:
01159952
Views:
14
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
Previous
Reply
Map
View

Click here to load this message in the networking platform