summaryrefslogtreecommitdiff
path: root/Principal.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Principal.cs')
-rw-r--r--Principal.cs13
1 files changed, 5 insertions, 8 deletions
diff --git a/Principal.cs b/Principal.cs
index 553fbec..677f926 100644
--- a/Principal.cs
+++ b/Principal.cs
@@ -4,14 +4,11 @@ using System.Security.Principal;
namespace HyperBooru;
[Index(nameof(Name))]
-public class HBPrincipal : HBObject {
- public string Name { get; set; }
- public SecurityIdentifier Sid { get; set; }
- public List<Group> MemberOf { get; set; }
+public class Principal {
+ public string Name { get; set; }
+ public SecurityIdentifier Sid { get; set; }
}
-public class User : HBPrincipal {
- public string PasswordHash { get; set; }
-}
+public class User : Principal {}
-public class Group : HBPrincipal {} \ No newline at end of file
+public class Group : Principal {} \ No newline at end of file