SecurityIdentifier not marked as serializable

  • Thread starter Dominick Baier [DevelopMentor]
  • Start date
D

Dominick Baier [DevelopMentor]

why don't you use the AD(AM) Membership provider that comes with ASP.NET??
 
J

JB

Hi Dominick, thanks for answering. I do not use that one because it
does not support assigning roles to ADAM users, it only supports
assigning roles to domain users.

Do you perhaps know what's the cause of this error?

Jeroen
 
J

JB

Thanks, I know that posting, I first started writing my own custom
Membership provider using the code you linked to. But then I did not
get all of it to work properly (getting a list of all users in a
certain role did not work properly etc). Its code is posted at

http://groups.google.com/group/micr...+membership+provider&rnum=10#25fda10aea303196

After that I found the other provider which seemed to be written with a
early version of .NET 2 but by someone with good knowledge of ADAM and
Active Directory. So I decided to use that code and fix it up so it now
compiles for the current .NET 2 version. However, it looks like
Microsoft has sharpened the security policies a little and made the
SecurityIdentifier non-serializable in a later release.

Do you know how to make this work anyway? Or perhaps a valid
implementation for the methods that lack in my implementation?

Thanks,
Jeroen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,145
Messages
2,570,826
Members
47,373
Latest member
Desiree036

Latest Threads

Top