Solved

SharePoint Online, no Access to User Profiles?

Posted on 2013-01-31
2
843 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sharepoint KB 2 88
SharePoint 2013 List with Ratings 6 156
Sharepoint Online 5 67
Is upgrading SQL from 2012 to 2014 Safe 5 30
Work Over Net is a new and very powerful collaboration product. With its new easy interface it is becoming very competitive to other similar products like webex and office interactive. WON 2010 have the standard business tools needed for multi-offic…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

726 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