Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7519219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:51:57+00:00 2026-05-30T01:51:57+00:00

I have implemented a SQL Membership provider for my WCF service. The service gets

  • 0

I have implemented a SQL Membership provider for my WCF service. The service gets accessed through the internet by a WPF client. I have a service getUser() which should return the a user.
Is it ok to return a MembershipUser by that method because I have read in another thread that it is not possible to do that because the class has a SecurityAttribute and XmlSerializer cannot serialize it.

Edit:
Also is it safe to return this type to the client. Is there any potential for misuse?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T01:51:58+00:00Added an answer on May 30, 2026 at 1:51 am

    I’m not 100% sure the specific answer on whether that type can be serialized or not … but just give it a try. If you get an error, then simply make a proxy type that includes all the information you need to return. And return that in your WCF method 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have implemented a custom membership provider using LINQ to SQL. When I added
In my WPF app I have implemented LINQ to SQL query which populates an
I'm currently using the SQL Membership provider for ASP.NET, which uses GUIDs for the
I am trying to learn LINQ to SQL. I have successfully implemented insert method
I have a sql server 7.0 database and I will implement a web service
I have implemented SQL Server session mode for an asp.net application. <sessionState mode=SQLServer compressionEnabled=true
I have implemented Full Text Search on one of Sql Server 2008 Table. Query
I have implemented Full Text Search on one of Sql Server 2008 Table. I
I have implemented a secure SSL connection on the SQL Server 2005 server. I
I have implemented the MOD 10 check digit algorithm using SQL, for the US

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.