ArcGIS Runtime SDK for WPF - Library Reference
FindCredential(String,String) Method
See Also 
ESRI.ArcGIS.Client Namespace > IdentityManager Class > FindCredential Method : FindCredential(String,String) Method

url
The url to a server.
userName
Name of the user.
Returns the token credential for the resource identified by the specified url. Optionally you can provide an user name to find credentials for a specific user.

Syntax

Visual Basic (Declaration) 
Public Overloads Function FindCredential( _
   ByVal url As String, _
   Optional ByVal userName As String _
) As IdentityManager.Credential
C# 
public IdentityManager.Credential FindCredential( 
   string url,
   string userName
)

Parameters

url
The url to a server.
userName
Name of the user.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.