class UCB::LDAP::Namespace
Class for accessing the Namespace/Name part of LDAP
.
Public Class Methods
find_by_cn(cn)
click to toggle source
Returns Namespace
instance for cn.
# File lib/ucb_ldap/namespace.rb, line 36 def self.find_by_cn(cn) warn "DEPRECATED: Namespaces are no longer supported by LDAP. This method always returns an empty Array" [] end
find_by_uid(uid)
click to toggle source
Returns an Array
of Namespace
for uid.
# File lib/ucb_ldap/namespace.rb, line 28 def self.find_by_uid(uid) warn "DEPRECATED: Namespaces are no longer supported by LDAP. This method always returns an empty Array" [] end
Public Instance Methods
name()
click to toggle source
# File lib/ucb_ldap/namespace.rb, line 10 def name cn.first end
services()
click to toggle source
Returns Array
of services
# File lib/ucb_ldap/namespace.rb, line 17 def services berkeleyEduServices end
uid()
click to toggle source
Calls superclass method
# File lib/ucb_ldap/namespace.rb, line 21 def uid super.first end