JAMS Developer Guide
Exists(String) Method


MVPSI.JAMS Namespace > Credential Class > Exists Method : Exists(String) Method
Username.
Test to determine if a given Credential definition exists on the default server.
Syntax
'Declaration
 
Public Overloads Shared Function Exists( _
   ByVal credentialName As System.String _
) As System.Boolean
'Usage
 
Dim credentialName As System.String
Dim value As System.Boolean
 
value = Credential.Exists(credentialName)
public static System.bool Exists( 
   System.string credentialName
)

Parameters

credentialName
Username.

Return Value

True if the Credential definition exists and the user has Submit access to it.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Credential Class
Credential Members
Overload List