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