开发者

Problem inheriting from ActiveDirectoryMembershipProvider

I have a direct inheritance from ValidateUser ActiveDirectoryMembershipProvider called CustomActiveDirectoryMembershipProvider.

The only method that is overridden is ValidateUser.

When the custom provider is used everything work except that we can't find any users. GetAllUsers wor开发者_运维知识库ks but not FindUsersByName or EMail.

When we switch over to the original provider, with the same settings, everything starts to work.

Anyone got this problem and solved it?


Have you tried overriding the "FindUsersByName or EMail" methods and calling the base implementation explicitly?

I seem to recall guessing the method calls are made through introspection and assume an inheriting implementation

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜