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.