ArcGIS API for Silverlight - Library Reference
AddCredential Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace > IdentityManager Class : AddCredential Method

credential
The credential to add.
Adds a new IdentityManager.Credential the IdentityManager will use for accessing the resources.

Syntax

Visual Basic (Declaration) 
Public Sub AddCredential( _
   ByVal credential As IdentityManager.Credential _
) 
C# 
public void AddCredential( 
   IdentityManager.Credential credential
)

Remarks

This method is useful in some workflows a token is generated prior to accessing services (or webmaps).

Parameters

credential
The credential to add.

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.