membership users

C

cybergoth_0

I have 2 .net web applications on my computer

they both have this line:

Dim MU As MembershipUser = Membership.GetUser(User.Identity.Name)

Yet one of them says that 'User' is not defined. Any ideas?
 
B

Brock Allen

You're going to have to provide a bit more information as to the context
in which you're using that line of code. Is it in a page, a control, global.asax,
where?
 
D

Dominick Baier [DevelopMentor]

as well as the authentication settings in iis/asp.net for both apps...
 

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,146
Messages
2,570,832
Members
47,374
Latest member
anuragag27

Latest Threads

Top