Filter for accounts with restricted memberof in result

sarath nadella 1 Reputation point
2022-06-28T19:47:21.263+00:00

Hi

Looking for the filter to get the (objectClass=person) accounts with restricted memberOf values in response. Below is the use case:

Use Case:
In LDAP, with (objectClass=person) there are 20 accounts. Each account has assigned to different groups (total 4 groups in system ex: A, B, C, and D) however, the filter should return all 20 accounts, and in memberOf only be A and B (should not return C and D even though group assigned to account)

Example:
Account: AAo1 is a member of A, B, and D
Account: AAo2 is a member of B and D

Filter results should return all accounts and memberof only should be in A or/and B even though other groups assigned to the account.

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,775 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.