# File lib/puppet/provider/user/ldap.rb, line 56
56:   def groups
57:     # We want to cache the current result, so we know if we
58:     # have to remove old values.
59:     unless @property_hash[:groups]
60:       unless result = group_manager.search("memberUid=#{name}")
61:         return @property_hash[:groups] = :absent
62:       end
63: 
64:       return @property_hash[:groups] = result.collect { |r| r[:name] }.sort.join(",")
65:     end
66:     @property_hash[:groups]
67:   end