DBConfigurationBaseCheckAddCredential Method  | 
 
            Check or add a credential to the database.
            
 
    Namespace: 
   Cadcorp.Configuration.Connectors
    Assembly:
   Cadcorp.Configuration (in Cadcorp.Configuration.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntaxpublic virtual int CheckAddCredential(
	DbConnection connection,
	int layerId,
	string tableName,
	string layerIdColumn,
	string username,
	string password,
	string seed
)
Public Overridable Function CheckAddCredential ( 
	connection As DbConnection,
	layerId As Integer,
	tableName As String,
	layerIdColumn As String,
	username As String,
	password As String,
	seed As String
) As Integer
Parameters
- connection
 - Type: System.Data.CommonDbConnection
Database Connection to use - layerId
 - Type: SystemInt32
Layer ID - tableName
 - Type: SystemString
Table Name - layerIdColumn
 - Type: SystemString
Layer ID Column - username
 - Type: SystemString
User Name - password
 - Type: SystemString
Password - seed
 - Type: SystemString
Seed 
Return Value
Type: 
Int32Credential ID
Implements
IDBConfigWriterCheckAddCredential(DbConnection, Int32, String, String, String, String, String)
See Also