MembershipUser object...

S

Smokey Grindle

Im trying to write a custom membership provider but in the GetUser method it
returns a MembershipUser, but when i create an object called that it says
overload resolution failed... no accessable 'new' accepts this number of
arguments... even though my argument list matches up...
Dim _user As New System.Web.Security.MembershipUser(Me.ApplicationName,
_eUser.UserName, _eUser.UserName, _eUser.ExternalEmailAddress, String.Empty,
String.Empty, _eUser.ApprovedUser)



you cant even make a defuault object and not get taht with

dim _user =new memberhsipuser

says the same thing even though the documentation on MSDN says this is
valid... what am I missing here?
 
S

Smokey Grindle

whoops some of that cut off in my original decleration, should be more in
there before the )
 

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
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top