Sha256: 7f6124a1e25090e9f2edba2a20622ce066920cfaa152a7d9f023febbb0da5bbc
Contents?: true
Size: 521 Bytes
Versions: 9
Compression:
Stored size: 521 Bytes
Contents
module GitHub class Ldap module MemberSearch # Look up group members using the existing `Group#members` and # `Group#subgroups` API. class Classic < Base # Public: Performs search for group members, including groups and # members of subgroups recursively. # # Returns Array of Net::LDAP::Entry objects. def perform(group_entry) group = ldap.load_group(group_entry) group.members + group.subgroups end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems