summaryrefslogtreecommitdiff
path: root/LocalPrincipal.cs
diff options
context:
space:
mode:
Diffstat (limited to 'LocalPrincipal.cs')
-rw-r--r--LocalPrincipal.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/LocalPrincipal.cs b/LocalPrincipal.cs
index f4b9981..6a12bad 100644
--- a/LocalPrincipal.cs
+++ b/LocalPrincipal.cs
@@ -18,6 +18,7 @@ public class LocalPrincipal : IPrincipal {
// displaying the user's name consistently, but may lead to
// unexpected behaviour in future when setting the DisplayName
// property if that ever becomes possible.
+ [NotMapped]
public string DisplayName {
get => Name;
set => Name = value;