Group members aren't found for certain group(s) via API
- June 11, 2024
- 1 reply
- 623 views
For sending emails we retrieve the members of a group.
See attached WorkspaceService.java:
The OID is retrieved via method findGroupOID
This groupId is set in GroupMembershipSearchFilter to the GroupMembershipSearchFilter
With lcConnector.getDirectoryManager().findGroupMembers we retrieve the users in the group for this group the members aren't found.
When retrieving the group via findGroupMembers the members of the group aren't found when the PricipalReference.status = Obsolete of that group.
See attached:
For IT_PM_BStatusObsolete.png and IT_PMStatusObsolete.png it's not working because PricipalReference.status = Obsolete
For PMG_MCX_N_CHNStatusCurrent.png it's working this group has PricipalReference.status = current
Renaming a group with PricipalReference.status = Obsolete from IT PM to IT PM AAAAAA changes the status from Obsolete to current,
see attachment IT_PM_AAAAAA.
Renaming back from IT PM AAAAAA back to IT PM changes the status to OBSOLETE again.
Attached also an overview of groups starting with IT PM (itPMGroups.png)
Can somebody help me with this issue:
- Why is the PricipalReference.status obsolete and not when renaming?
- Am I using the API call's incorrectly?