I need to get a list of all sites available to the user, from a SharePoint 2013 server. Is there a way to authenticate with the SharePoint server, using network credentials?
Examples I see seem to pass a username, password and domain.
eg:
string _siteURL = "https://intranet.co.uk";
NetworkCredential _myCredentials = new NetworkCredential("user", "password", "https://intranet");
ClientContext _clientContext = new ClientContext(_siteURL);
_clientContext.Credentials = _myCredentials;
Is there a way to NOT request a username/password from the user and get the list of sites available to the user?