public async Task LoadChildren(ILdapConnection connection, CancellationToken cancellationToken = default) { var entries = await connection.Search <VoteEntry>(this.Dn, null, LdapObjectTypes.VotedEntry, LdapConnection.SCOPE_ONE, cancellationToken); foreach (var voteEntry in entries) { if (voteEntry.Active) { this.ActiveVoteEntries.Add(voteEntry); } else { this.InactiveVoteEntries.Add(voteEntry); } } }
public DivisionManager(ILdapConnection connection, LdapConfig config) { this._connection = connection; this._config = config; }
public TribeManager(ILdapConnection connection, LdapConfig config) { this._connection = connection; this._config = config; }
public VotedGroupManager(ILdapConnection connection, LdapConfig config) { this._connection = connection; this._config = config; }
public MemberManager(ILdapConnection connection, LdapConfig config, IDivisionManager divisionManager) { this._connection = connection; this._config = config; this._divisionManager = divisionManager; }
public LdapUserStore(ILdapConnection connection, LdapConfig config, ILogger <LdapUserStore> logger) { this._connection = connection; this._config = config; this._logger = logger; }