Return MembershipUser using WCF service

前端 未结 2 1632
慢半拍i
慢半拍i 2021-01-25 01:13

I have WCF service to get users from the ActiveDirectory. I receive parameter from the request (user name) and create response with MembershipUser property. from some reason, th

2条回答
  •  粉色の甜心
    2021-01-25 01:57

    i found the error using the WCF trace. the error was that the XmlSeriazlier couldn't serialize the MembershipUser even though it was serializable because it has SecurityAttribute too. source:

    http://support.microsoft.com/kb/326971

提交回复
热议问题