Library that allows a user id to be mapped to one or more institutions.
Create, set up, and return an Institutions object.
Given an ldap connection, search string, attributes and base, this method performs the ldap search and returns the result as a perl data structure.
Populates the institution map with user id as the key and an array of institutions the uid is a member of as the value.
Populates the instid map with institution id as the key and the human readable name for the institution as the value.
Connect to the LDAP host with the given configuration.
This is the top level method for setting up the uid to institutions map.
This is the top level method for setting up the instid to institution name map.
Method for printing to the provided file handle a representation of the membership count data.
Print out the number of people who are members of 1,2,3,4... etc. institutions.
Print the number of unique users from an institution for a given month.
Fetches data from a specified database server to construct the instid counts.
Print out the number of unique users from each institution for a given month.
Library to map users to institutions they are a member of.
0 on success.
Daniel David Parry <firstname.lastname@example.org>
COPYRIGHT: (c) 2011 Daniel David Parry <email@example.com>