GlobalTokenItem.cs 874 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. using System;
  2. using InABox.Core;
  3. namespace PRSDesktop
  4. {
  5. public enum SecurityTokenType
  6. {
  7. Global,
  8. Group,
  9. User
  10. }
  11. public class SecurityTokenItem
  12. {
  13. public SecurityTokenType Type { get; set; }
  14. public string Descriptor { get; set; }
  15. public Guid ID { get; set; }
  16. public Guid RecordID { get; set; }
  17. public bool Enabled { get; set; }
  18. }
  19. public class SecurityDescriptor : BaseObject
  20. {
  21. public Guid ID { get; set; }
  22. public string Group { get; set; }
  23. public string Category { get; set; }
  24. public string Descriptor { get; set; }
  25. public string Description { get; set; }
  26. public bool Default { get; set; }
  27. public bool IsGlobal { get; set; }
  28. public bool IsGroup { get; set; }
  29. public bool IsUser { get; set; }
  30. }
  31. }