Visual Basic (Declaration) | |
---|---|
Public Property ChallengeMethod As IdentityManager.ChallengeDelegate |
C# | |
---|---|
public IdentityManager.ChallengeDelegate ChallengeMethod {get; set;} |
The IdentityManager can be activated with a fixed username/password by initializing the ChallengeMethod with GenerateCredentialAsync:
ESRI.ArcGIS.Client.IdentityManager identityManager = ESRI.ArcGIS.Client.IdentityManager.Current;
identityManager.ChallengeMethod = (url, callback, options) => identityManager.GenerateCredentialAsync(url, "<username>", "<password>", callback, options);
Dim identityManager As ESRI.ArcGIS.Client.IdentityManager = ESRI.ArcGIS.Client.IdentityManager.Current
identityManager.ChallengeMethod = Function(url, callback, options) identityManager.GenerateCredentialAsync(url, "<username>", "<password>", callback, options)
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8