How can I make this function run – also when getUsername() is null
$authSession = $objectManager->get('MagentoBackendModelAuthSession');
$UUsername = $authSession->getUser()->getUsername();
How can I make this function run – also when getUsername() is null
$authSession = $objectManager->get('MagentoBackendModelAuthSession');
$UUsername = $authSession->getUser()->getUsername();