Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Get all user profiles from within a provider hosted app

$
0
0

Hi,

I am trying to create a provider hosted app part that will list out all the sharepoint users that have been synched with AD. This will be added to a gridview for an internal contact list.

I am struggling to find how I can get a list of all user profiles from within my provider hosted app. The following article explains how to it with the server object model which I would imaging runs as a console app but I need to do it within an app part that will be called from a sharepoint site: msdn.microsoft.com/en-us/library/jj163142.aspx#bkmk_GetChangeUP

Also the following article explains how to get information from a single user profile using the client object model which is what I am using but there doesn't appear to be a method to get a list of all the user profiles: msdn.microsoft.com/en-us/library/jj163182.aspx

Can anyone help with this?

Regards
Tony


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>