Solved

SharePoint Online, no Access to User Profiles?

Posted on 2013-01-31
2
857 Views
Last Modified: 2013-01-31
I need to access a User Profile property from a sandboxed event receiver in a SharePoint Online site. I tried using code like:

    Dim svrCtx As SPServiceContext = SPServiceContext.Current
    Dim usrMan = New UserProfileManager(svrCtx)

Doesn't work. Is there an alternate way to access User Profile properties from a sandbox?

I don't want to use the User Information list. The User Profile should be the single source of data so there's only one master copy of the value to manage.

Thanks!
0
Comment
Question by:CraigYellick
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 32

Accepted Solution

by:
Jamie McAllister MVP earned 500 total points
ID: 38840181
0
 
LVL 11

Author Comment

by:CraigYellick
ID: 38840212
At first I thought you were suggesting the User Information List, which I didn't want to use. But I see that the article mentions automatic sync with the User Profile and THAT is acceptable.  Thanks!
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question