$frontendInstance = ObjectFactory::createObjectByConfiguredName('user_db_frontend_class');
// Get the primary key back from the frontend
- $primaryKey = $frontendInstance->getPrimaryKeyValue();
+ $primaryKey = $frontendInstance->generatePrimaryKey();
// Get that field
$primaryValue = $this->getField($primaryKey);