Link to home
Start Free TrialLog in
Avatar of Craig Yellick
Craig YellickFlag for United States of America

asked on

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!
ASKER CERTIFIED SOLUTION
Avatar of Jamie McAllister
Jamie McAllister
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Craig Yellick

ASKER

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!