By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,011 Members | 1,000 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,011 IT Pros & Developers. It's quick & easy.

User Profiles

P: n/a
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
Mar 23 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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
EI have started creating an application where I make use of User
EProfiles,
Eto allow users to enter information about themselves. I now find
Ethat
EI wish I could create an "Administrator" account that will allow the
Eadministrator to change or edit profile data that a user has placed
Ein their
Eprofile. Is it possible in ASP.NET 2.0 to do that? The application
Eis
Ealready
Eusing an ASP.NET membership database.
EThanks in advance...Ed
E>
Mar 25 '08 #2

P: n/a
Thanks Michael, that did the trick.
--
Ed
"Michael Nemtsev [MVP]" wrote:
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
EI have started creating an application where I make use of User
EProfiles,
Eto allow users to enter information about themselves. I now find
Ethat
EI wish I could create an "Administrator" account that will allow the
Eadministrator to change or edit profile data that a user has placed
Ein their
Eprofile. Is it possible in ASP.NET 2.0 to do that? The application
Eis
Ealready
Eusing an ASP.NET membership database.
EThanks in advance...Ed
E>
Mar 25 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.