IdentityManager.Current.FindServerInfo()

2178
1
12-06-2012 10:07 AM
BenTreptow1
Deactivated User
Does anyone know why the IdentityManager.Current.FindServerInfo() method always returns null in the following code?

using System.Windows.Controls;
using ESRI.ArcGIS.Client;

namespace DebugTest
{
    public partial class MainPage : UserControl
    {
        public MainPage()
        {
            InitializeComponent();

            IdentityManager.ServerInfo serverInfo = IdentityManager.Current.FindServerInfo("https://gis1.logis.org/arcgis");
        }
    }
}
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
Does anyone know why the IdentityManager.Current.FindServerInfo() method always returns null in the following code?


FindserverInfo returns only the servers that are currently registered and no servers are registered at the beginning of the session.

Servers are registered either manually by calling 'RegisterServers' or automatically when a token credential is needed for an ArcGIS resource.
0 Kudos