SharePoint Online, no Access to User Profiles?

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!
LVL 11
Craig YellickDatabase ArchitectAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Jamie McAllister MVPConnect With a Mentor SharePoint ConsultantCommented:
0
 
Craig YellickDatabase ArchitectAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.