Sha256: e6401d0df85c3843813cd98299f74906d54d164974afa59bf49af65818f7b671
Contents?: true
Size: 611 Bytes
Versions: 38
Compression:
Stored size: 611 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_name => "User", :wrap => "memberUid" has_many :primary_members, :class_name => 'User', :foreign_key => 'gidNumber', :primary_key => 'gidNumber' end # Group
Version data entries
38 entries across 38 versions & 3 rubygems