Programmatically accessing another user's profile... how?

Apologies in advance if this is the wrong place to ask, but I've run into a 

bit of a quandary.

I'm trying to build a page where an Admin user can go in and change the
profile properties for any other user. I'm having a bear of a time figuring
out how to retrieve a profile in order to edit it. Does ASP.net allow for
this within the Profile Provider framework, and if so, how can I use it?

Thanks in advance!

Uche
0
UnnDunn
5/1/2009 7:49:02 PM
asp.net.state-management 8807 articles. 0 followers. Follow

2 Replies
1552 Views

Similar Articles

[PageSpeed] 57

Hi look at my previous posts here: http://forums.asp.net/t/1412495.aspx especially the last post.


Regards
Smcoxon

No Gem is ever polished without some friction.
0
smcoxon
5/1/2009 8:07:37 PM

 ProfileBase profile= ProfileBase.Create(string username);

profile.GetPropertyValue(...)

profile.SetPropertyValue(...)

profile.Save();

 

easy peasy.


Please mark this post as the answer if you found it useful.

Cheers

Paul
0
Paul
5/2/2009 1:20:56 AM
Reply:

Similar Artilces:

Unable to access user control's user control's function\property from another user control
Hi, I used to call an user control's user control function as stated below from my user control in ASP.Net 1.1 wucCompany.wucEmployee.GetEmployeeSomething() After migrating to ASP.Net 2.0, I am unable to use any properties/functions(even the public ones) of the user control's User control's from another user control.  The way I have to do is create property\function in wucCompany which calls the wucEmployee's property\function and call the wucDepartment.GetEmployeeSomething().Since I need to do this change in too many places, I can...

superreview granted: [Bug 283345] Description of Profile Manager's <dialogheader> isn't updated when switching from Select Profile to Manage Profile mode : [Attachment 175337] Patch
neil@parkwaycc.co.uk <neil.parkwaycc.co.uk@myrealbox.com> has granted Stefan Borggraefe <Stefan.Borggraefe@gmx.de>'s request for superreview: Bug 283345: Description of Profile Manager's <dialogheader> isn't updated when switching from Select Profile to Manage Profile mode https://bugzilla.mozilla.org/show_bug.cgi?id=283345 Attachment 175337: Patch https://bugzilla.mozilla.org/attachment.cgi?id=175337&action=edit ...

superreview requested: [Bug 283345] Description of Profile Manager's <dialogheader> isn't updated when switching from Select Profile to Manage Profile mode : [Attachment 175337] Patch
Stefan Borggraefe <Stefan.Borggraefe@gmx.de> has asked neil@parkwaycc.co.uk <neil.parkwaycc.co.uk@myrealbox.com> for superreview: Bug 283345: Description of Profile Manager's <dialogheader> isn't updated when switching from Select Profile to Manage Profile mode https://bugzilla.mozilla.org/show_bug.cgi?id=283345 Attachment 175337: Patch https://bugzilla.mozilla.org/attachment.cgi?id=175337&action=edit ------- Additional Comments from Stefan Borggraefe <Stefan.Borggraefe@gmx.de> The code used the wrong attribute to update this UI string. ...

Accessing a user control's div tag from another user control
Hi,I have a form that has two placeholders- a primary and a secondary, for two different usercontrols. At runtime I unload one user control from the primary placeholder and load the second user control onto the secondary placeholder. Before doing the unloading and loading, I need to fill the innerhtml of a div tag in the second user control(the one I am going to load) from the first one(the one I am going to unload). I have been able to get a reference to the second usercontrol but dont know what to do next. Please advise. Your help is appreciated. Suppose you have two user ...

changes made from one user's webpart's page, effects all user's
 I am just doing this offline right now in Visual Web Developer Express 2008I created the login inonce in the memberpage area, people can modify their webpart page. I created several users to test this out.  I loaded it in a browser.When I make changes as logged in user "A" .  Then logout and login as user "B", user "B,s" webpart page has been changed to user "A".This goes true for whomever I log in as.  It changes for everyone.Is there something specific I need to do in order to get everyone's changes to be unique for them...

access user's local machine's info
Hi, Is that possible we can implement something in ASP.NET to access user's local machine's info, such as MAC# or Hard Drive #? Thanks. Chia Nope. Or, more specifically, I hope not. This would be a major, huge security breach. The best you could do is to embed an ActiveX or .NET component in the page, convince the user to install it, and get the info that way. This would only be reasonable in an intranet situation. But you'd have to install it independently of the ASP.NET page before you could use it. DonDon Kiely, MCP, MCSDIn the Last Frontier, Interior AlaskaPlease post ...

Access another user's mailbox
Is there a way to access another user's mailbox if they have a password set on it and you don't have proxy rights? There is a manager that wants to build a case against an employee who is supposedly sending harmful messages to other employees so doesn't want that employee to know. She has cleared this thru our legal department but I don't know a way to do it. I'm guessing I might be able to do a restore of the PO on another server and then access it but to monitor messages sent each day, that wouldn't be feasible. Any thoughts?? Tina Use reveal fro...

Accessing another user's archive
Hello, I am new to Groupwise so I don't know all the ins-n-outs yet, and I'm having a hard time finding an answer to this: I have a user that is no longer with out organization, and the user's account is disabled and mailbox is gone. However, I do have that person's archive folder saved on a dvd with all their documents and etc. My manager wants to be able to open up that archive to go through the archived messages. How would I import that archive folder, or at least make it readable? I know in Outlook archives are just a single file that you can open up, Groupwise ...

User Control's and State Management
Greetings all! I was tasked with the assignment of putting a form together that had an area that could load controls dynamically.  Just so everyone has the same idea of what this page was supposed to be, think of a form at the top of the page that contains elements that are common and the lower portion of the form has a sort of 'navigation bar' that would load a specific control into the section that accepts controls.  This sounds simple enough, but I found out how difficult it really is.  First, the top portion of the web form is pretty basic, some textboxes, a datagrid, e...

One user's email appearing in another's inbox !?!
Situtation one: UserA sends email to UserB. Email arrives at UserB inbox, but also in UserC inbox even though not addressed to him. Situation two: UserA proxies to UserB. Re-files an email from UserB-Inbox to a shared folder, owned by UserC. Once re-filed, email also appears in the inbox of User-D. In both situations, the properties on the suprious email appearing at (S1, UserC & S2, User D) have been checked, and they are definitely not on the recipient list. The usual db maintanence repair processes have been run, although a full rebuild of the mail...

Help! I cannot access the DataGrid's ItemTemplate's LinkButton's Text Atrribute 's Value!!!!!!!!!!!
I write a datagrid's ItemDataBound method as follows:   private void dgTable_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e)  {   if(e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)   {    if(!isRole("Manager"))    {     LinkButton tmp = (LinkButton)e.Item.FindControl("lbPassed");     if(tmp.Text == "Passed")     {      ((LinkBu...

One User's Mail Can't Be Printed by Another User
Greetings all-- There is one user here whose email can't be printed. When a second user tries to print, the message "An error occurred during this process" appears. Printing other email and from other applications is fine. Has anyone seen anything like this before? Where does the problem lie, in user A (the sender) or in user B (the recipient)? In user B's case, I removed GW, ran the GW Cleaning Agent, defragged, etc, reinstalled GW and still she can't print user A's email. (I can print user A's mail, but then I'm an Admin.) This is GW 5.5 ...

Proxy access to another user's archive
Is there any way to provide proxy access to another user's archive. OR - Can an account be created that only has read/write access, but no delete or modify? My research has shown that the answer to the first question is a NO, and that this is some inherant functionality of the GW software. But, I wanted to get some extra confirmation from anyone willing to reply. If anyone is aware of a way to provide proxy access to another user's archive, I'd appreciate a reply. Jason Powers No, and it is deliberate and by design. -- Michael J. Bell Novell Support Co...

Accessing Another Application's Application State
Does anyone know if it's possible for one application (App A) to access another application's (App B) Application State that resides on the same server? I don't know if it's possible (I suspect not, without some really ugly trickery), but I can say this: it's a really crappy design, and would easily run into a lot of issues.Tomas Restrepo [MVP]tomasr@mvps.org Well ouch! I know this isn't the best thing to try, but based on business rules I have to separate a security management and application maint. piece from the actual application. I need to unfortunately get/set some application va...

Web resources about - Programmatically accessing another user's profile... how? - asp.net.state-management

[...] How to Programmatically Administer Off-Facebook Pages with the Open Graph API - Inside Facebook ...
With the Open Graph protocol that Facebook announced at last week’s f8 conference, any URL can now be treated just like a Facebook Page. After ...

Well, This Is Different Time Inc. Now Selling Print Ads Programmatically
Machines are now selling some print ads at Time Inc. The nation's largest magazine publisher owner of People, Time, Sports Illustrated and InStyle ...

Now Marketers Can Buy Sponsored Content Programmatically
Publishers' branded content is going programmatic. Today, Sharethrough and AppNexus are rolling out real-time bidding for Sharethrough's news ...

Wesabe makes Financial Data available programmatically
Wesabe has just done what I've been trying to convince banks to do for years. They're making financial data available via a simple POX (Plain ...

IPG Begins Buying Local Broadcast Programmatically: Can Target, Retarget Viewers In Near Real-Time
In what likely is the most significant development yet to bring programmatic media-buying to local broadcast television, Interpublic's Mediabrands ...

Google Launches Cloud SQL API To Allow Developers To Manage Their Databases Programmatically
... to use Google’s admin interface. Today, however, Google is launching the Cloud SQL API . This new REST API will allow developers to programmatically ...

Are Programmatically Purchased Native Ads Native Enough?
It seems everyone and their mothers are pushing native ad units and tools to support them. Facebook, Twitter, Yahoo and most recently AOL all ...

Most Major U.S. Publishers Now Sell Ads Programmatically
Most major online publishers in the U.S. now sell at least some of their ad space using automated "programmatic" technology, according to new ...

TV Ads Could Soon Be Sold Programmatically, Magna’s Todd Gordon
The key efficiency new-wave digital media sales holds over TV is clear – super-targeting through addressable, automated and programmatic buying ...

How To Use Facebook's New Power Editor For Ads
Here's a guide to the power editor in Facebook's ad manager.

Resources last updated: 12/17/2015 6:48:31 PM