GetByKey Method (CertUserLink)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified certification user link from the Cert_User_Link table.
'Declaration
Public Shared Function GetByKey( _
ByVal certName As String, _
ByVal userId As String _
) As DataSet
'Usage
Dim certName As String
Dim userId As String
Dim value As DataSet
value = CertUserLink.GetByKey(certName, userId)
Parameters
- certName
- Required. Holds the name of the certification.
- userId
- Required. Holds the ID of the user to whom the certification is linked.
Return Value
Returns a DataSet that contains the DataRow of the specified certification user link. If no matching record found, an empty DataSet is returned.