Add member system fields to ListView (#14069)

* Add member system fields to ListView

* Small fix

* Add sort options for new systemfield for members.

---------

Co-authored-by: Lucas Bach Bisgaard <lom@novicell.dk>
This commit is contained in:
Lucas Bach Bisgaard
2023-04-28 16:37:22 +02:00
committed by GitHub
parent 0765a2ebbb
commit 2aa9ceab1a
6 changed files with 107 additions and 43 deletions

View File

@@ -13,6 +13,24 @@ public class MemberBasic : ContentItemBasic<ContentPropertyBasic>
[DataMember(Name = "email")]
public string? Email { get; set; }
[DataMember(Name = "failedPasswordAttempts")]
public int FailedPasswordAttempts { get; set; }
[DataMember(Name = "approved")]
public bool Approved { get; set; }
[DataMember(Name = "lockedOut")]
public bool LockedOut { get; set; }
[DataMember(Name = "lastLockoutDate")]
public DateTime? LastLockoutDate { get; set; }
[DataMember(Name = "lastLoginDate")]
public DateTime? LastLoginDate { get; set; }
[DataMember(Name = "lastPasswordChangeDate")]
public DateTime? LastPasswordChangeDate { get; set; }
[DataMember(Name = "properties")]
public override IEnumerable<ContentPropertyBasic> Properties
{