S
shapper
Hello,
I have an ASP.NET page and in its runtime code I am trying to get an
user profile, change it and save it.
It works if I use Profile, which is the profile for the current
authenticated user. But I want to change the profile of another user.
Anyway, I am using:
1 Dim pcProfile As ProfileCommon =
CType(ProfileCommon.Create(Username), ProfileCommon)
2
3 ' Update personal
4 With pcProfile.Personal
5 .Blog = tbBlog.Text
6 .Homepage = tbHomepage.Text
7 .Name = tbName.Text
8 End With
9
10 pcProfile.Save()
This is not working.
What am I doing wrong?
Thanks,
Miguel
I have an ASP.NET page and in its runtime code I am trying to get an
user profile, change it and save it.
It works if I use Profile, which is the profile for the current
authenticated user. But I want to change the profile of another user.
Anyway, I am using:
1 Dim pcProfile As ProfileCommon =
CType(ProfileCommon.Create(Username), ProfileCommon)
2
3 ' Update personal
4 With pcProfile.Personal
5 .Blog = tbBlog.Text
6 .Homepage = tbHomepage.Text
7 .Name = tbName.Text
8 End With
9
10 pcProfile.Save()
This is not working.
What am I doing wrong?
Thanks,
Miguel