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
Solved

SharePoint Online, no Access to User Profiles?

Posted on 2013-01-31
2
828 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
2 Comments
 
LVL 31

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sharepoint Max date with criteria 2 95
server program files 24 73
How to setup workflow manager to work with Sharepoint server? 2 60
SharePoint List Calculated Field 4 41
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

828 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