summaryrefslogtreecommitdiff
path: root/Principal.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Principal.cs')
-rw-r--r--Principal.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Principal.cs b/Principal.cs
index 18b82d0..553fbec 100644
--- a/Principal.cs
+++ b/Principal.cs
@@ -1,11 +1,13 @@
using Microsoft.EntityFrameworkCore;
+using System.Security.Principal;
namespace HyperBooru;
[Index(nameof(Name))]
public class HBPrincipal : HBObject {
- public string Name { get; set; }
- public List<Group> MemberOf { get; set; }
+ public string Name { get; set; }
+ public SecurityIdentifier Sid { get; set; }
+ public List<Group> MemberOf { get; set; }
}
public class User : HBPrincipal {