GetCurrentMember Active Directory Memberhship Provider?
Hi Guys,
I was just wondering if we need to make our own XlstExtensions for queries on the membership if we're looking at getting members and roles etc.. the problem being that Member.GetCurrentMember returns nothing..
will this feature be implemented in future versions so we can use the native xlst stuff?
Think you need to create your own indeed. The current one is build on top of the internal Member API. You can create your own XsltExtension class that uses the MemberShip API. Changing this could break exsisting Xslt's so I'm not sure this will be changed, otherwise it would already be done I think.
GetCurrentMember Active Directory Memberhship Provider?
Hi Guys,
I was just wondering if we need to make our own XlstExtensions for queries on the membership if we're looking at getting members and roles etc.. the problem being that Member.GetCurrentMember returns nothing..
will this feature be implemented in future versions so we can use the native xlst stuff?
Cheers,
Tom
Hi Tom,
Think you need to create your own indeed. The current one is build on top of the internal Member API. You can create your own XsltExtension class that uses the MemberShip API. Changing this could break exsisting Xslt's so I'm not sure this will be changed, otherwise it would already be done I think.
Check this article how to write an XsltExtension
Cheers,
Richard
Hi Richard.. thanks so much.. yes I ended up writing my own extension which does the business well! Cheers,
Tom
is working on a reply...