From 308895554f81a9a8d27f9d8d68d484cec8999efa Mon Sep 17 00:00:00 2001
From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch>
Date: Tue, 13 Mar 2018 15:35:19 +0100
Subject: [PATCH] Return the username if it can't be translated to a full name.

---
 ATxCommon/ActiveDirectory.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ATxCommon/ActiveDirectory.cs b/ATxCommon/ActiveDirectory.cs
index 063f9eb..b7d6482 100644
--- a/ATxCommon/ActiveDirectory.cs
+++ b/ATxCommon/ActiveDirectory.cs
@@ -46,7 +46,7 @@ namespace ATxCommon
             catch (Exception ex) {
                 Log.Warn("Can't find full name for {0}: {1}", username, ex.Message);
             }
-            return "";
+            return username;
         }
     }
 }
-- 
GitLab