1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-16 16:23:41 +00:00

recursively build out member groups

This commit is contained in:
Kyle Spearrin
2017-05-12 18:07:11 -04:00
parent a7d9b0db42
commit f3646aa1e6
2 changed files with 11 additions and 7 deletions

View File

@@ -18,11 +18,11 @@ namespace Bit.Core.Models
public string Name { get; set; }
public HashSet<string> Members { get; set; } = new HashSet<string>();
public List<GroupEntry> GroupMembers { get; set; } = new List<GroupEntry>();
public List<UserEntry> UserMembers { get; set; } = new List<UserEntry>();
}
public class UserEntry : Entry
{
public string Email { get; set; }
public List<GroupEntry> Groups { get; set; } = new List<GroupEntry>();
}
}