Profile

S

shapper

Hello,

I am creating a new profile for a user from within a class in my
App_Code folder as follows:

Dim userProfile As ProfileCommon =
CType(ProfileCommon.Create(HttpContext.Current.Profile.UserName,
True), ProfileCommon)

Now I need to update an existing profile from within the same class. I
tried the following:

Dim userProfile As ProfileCommon = Profile.GetProfile(UserName)

This is not working. Any idea?

Thanks,

Miguel
 

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,968
Messages
2,570,153
Members
46,699
Latest member
AnneRosen

Latest Threads

Top