Sha256: d9d053722eae5dfd72583b4d0c21b0044bb00c40aed4de0a7ea3c4c6e83c8177
Contents?: true
Size: 601 Bytes
Versions: 7
Compression:
Stored size: 601 Bytes
Contents
class Group < ActiveLdap::Base ldap_mapping :dn_attribute => "cn", :classes => ['posixGroup'] # Inspired by ActiveRecord, this tells ActiveLDAP that the # LDAP entry has a attribute which contains one or more of # some class |:class_name| where the attributes name is # |:local_key|. This means that it will call # :class_name.new(value_of(:local_key)) to create the objects. has_many :members, :class => "User", :wrap => "memberUid" has_many :primary_members, :class => 'User', :foreign_key => 'gidNumber', :primary_key => 'gidNumber' end # Group
Version data entries
7 entries across 7 versions & 2 rubygems