IDBConfigReaderGetCredentialByLayerId Method  | 
 
            Gets credentials based on layer id, for use with authenticated proxy layers.
            
 
    Namespace: 
   Cadcorp.Configuration.Connectors
    Assembly:
   Cadcorp.Configuration (in Cadcorp.Configuration.dll) Version: 9.0.2618.0 (9.0.2618.0)
SyntaxCredential GetCredentialByLayerId(
	int layerId,
	string type
)
Function GetCredentialByLayerId ( 
	layerId As Integer,
	type As String
) As Credential
Parameters
- layerId
 - Type: SystemInt32
Layer ID - type
 - Type: SystemString
Layer Type 
Return Value
Type: 
CredentialPopulated Credential object.
See Also