User Profiles

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
 
M

Michael Nemtsev [MVP]

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>
 

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

Similar Threads


Members online

Forum statistics

Threads
473,981
Messages
2,570,188
Members
46,731
Latest member
MarcyGipso

Latest Threads

Top