User Profiles

  • Thread starter Thread starter Ed
  • Start date Start date
E

Ed

I have started creating an application where I make use of User Profiles,
to allow users to enter information about themselves. I now find that
I wish I could create an "Administrator" account that will allow the
administrator to change or edit profile data that a user has placed in their
profile. Is it possible in ASP.NET 2.0 to do that? The application is
already
using an ASP.NET membership database.

Thanks in advance...Ed
 
Hello Ed,

U need to use the ProfileCommon.Create method with user name to access his
properties.

ProfileCommon userProfile = (ProfileCommon) ProfileCommon.Create(userName,
true)

and then u have access to user profiles via properties

like userProfile.<property>

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


E> I have started creating an application where I make use of User
E> Profiles,
E> to allow users to enter information about themselves. I now find
E> that
E> I wish I could create an "Administrator" account that will allow the
E> administrator to change or edit profile data that a user has placed
E> in their
E> profile. Is it possible in ASP.NET 2.0 to do that? The application
E> is
E> already
E> using an ASP.NET membership database.
E> Thanks in advance...Ed
E>
 
Back
Top