Package com.atlassian.crowd.directory
Class AzureMembershipHelper
java.lang.Object
com.atlassian.crowd.directory.AzureMembershipHelper
Helper class to fetch membership data.
-
Constructor Summary
ConstructorsConstructorDescriptionAzureMembershipHelper
(AzureAdRestClient restClient, AzureAdPagingWrapper pagingWrapper, MicrosoftGraphQueryTranslator queryTranslator, AzureAdRestEntityMapper restEntityMapper, AzureAdDirectory directory) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.lang3.tuple.Pair<List<UserWithAttributes>,
List<GroupWithAttributes>> getDirectChildren
(String groupId) Returns direct children of a group.
-
Constructor Details
-
AzureMembershipHelper
public AzureMembershipHelper(AzureAdRestClient restClient, AzureAdPagingWrapper pagingWrapper, MicrosoftGraphQueryTranslator queryTranslator, AzureAdRestEntityMapper restEntityMapper, AzureAdDirectory directory)
-
-
Method Details
-
membershipIterator
- Returns:
- iterator of memberships; sub-groups will be included only if nested groups are enabled
- Throws:
OperationFailedException
-
getDirectChildren
public org.apache.commons.lang3.tuple.Pair<List<UserWithAttributes>,List<GroupWithAttributes>> getDirectChildren(String groupId) throws OperationFailedException Returns direct children of a group.- Parameters:
groupId
- id of a group- Returns:
- direct children of a group; sub-groups will be returned only if nested groups are enabled
- Throws:
OperationFailedException
-