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