Class: UCB::LDAP::ExpiredPerson

Inherits:
Person show all
Defined in:
lib/ucb_ldap/expired_person.rb

Overview

UCB::LDAP::ExpiredPerson

Class for accessing the Expired People tree of the UCB LDAP directory. Identical in every way to Person apart from binding.

Constant Summary

Constants inherited from Entry

UCB::LDAP::Entry::TESTING

Instance Method Summary collapse

Methods inherited from Person

#departments, #dept_name, #deptid, find_by_uid, find_by_uids, include_test_entries=, include_test_entries?, #job_appointments, #org_node, person_by_uid, persons_by_uids, search, #student_terms

Methods included from CommonAttributes

#addresses, #affiliate_affiliations, #email, #firstname, #lastname, #namespaces, #officialemail, #phone, #services, #test?, #uid

Methods included from AffiliationMethods

#affiliate?, #affiliate_academic_case_tracking?, #affiliate_advcon_alumnus?, #affiliate_advcon_attendee?, #affiliate_advcon_caa_member?, #affiliate_advcon_friend?, #affiliate_advcon_i_house_resident?, #affiliate_advcon_student?, #affiliate_advcon_trustee?, #affiliate_aws_only?, #affiliate_billing_only?, #affiliate_committee_member?, #affiliate_concurrent_enrollment?, #affiliate_consultant?, #affiliate_contractor?, #affiliate_departmental?, #affiliate_directory_only?, #affiliate_emeritus?, #affiliate_expiration_date, #affiliate_expired?, #affiliate_hhmi_researcher?, #affiliate_lbl_doe_postdoc?, #affiliate_lbl_op_staff?, #affiliate_maintenance?, #affiliate_staff_affiliate?, #affiliate_staff_retiree?, #affiliate_temp_agency?, #affiliate_test?, #affiliate_visiting?, #affiliate_volunteer?, #affiliations, #employee?, #employee_academic?, #employee_expiration_date, #employee_expired?, #employee_staff?, #has_affiliation?, #has_affiliation_of_type?, #student?, #student_expiration_date, #student_expired?, #student_not_registered?, #student_registered?

Methods inherited from Entry

#assigned_attributes, #attributes, canonical, #canonical, combine_filters, create, create!, #dn, entity_name, filter_in, find_by_dn, #initialize, make_search_filter, #method_missing, net_ldap, #net_ldap, object_classes, required_attributes, required_schema_attributes, schema_attribute, schema_attributes_array, schema_attributes_hash, search, set_schema_attributes, tree_base, tree_base=, unique_object_class

Constructor Details

This class inherits a constructor from UCB::LDAP::Entry

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class UCB::LDAP::Entry

Instance Method Details

#expired?Boolean

Returns expired status

True by definition for expired users

Returns:

  • (Boolean)


18
19
20
# File 'lib/ucb_ldap/expired_person.rb', line 18

def expired?
  true
end