Interface GroupMembershipAccessor

    • Method Detail

      • getMemberNames

        com.atlassian.user.search.page.Pager<String> getMemberNames​(com.atlassian.user.Group group)
        Returns a pager containing the usernames of users who are members of the specified group (either directly or as a member of a nested group). Returns an empty pager if the group has no members or doesn't exist.
      • getMemberNamesAsList

        default List<String> getMemberNamesAsList​(com.atlassian.user.Group group)
        Same as getMemberNames(Group) but returns a List of user names as Strings rather than a Pager.
        Parameters:
        group - to retrieve the member names from
        Returns:
        a list of Strings