LON-CAPA provides a mechanism to search for users by complete username,
last name, or last name,first name (or fragments of each). Accounts
within the LON-CAPA domain itself can be searched, or alternatively,
an institutional directory may be searched, if you are able to implement
a conduit to directory information to support such searches. This
will be done by customizing the \&get\_userinfo() routine in localenroll.pm.
This routine has a dual role in LON-CAPA. Not only will it support
searches where the user is not excatly known, but it can also be used
to retrieve institutional records for a specific usernames or student/employee
ID. This latter mode of use is appropriate when adding a new user
to LON-CAPA.
Settings for directory searches are:
\begin{itemize}
\item Set directory searches as available or unavailable in the domain
\item Set whether users from other LON-CAPA domains can use the institutional
directory search to search for users. Note: this only applies to institutional
directory data, users with privileges to add users to a course will
always be able to search the LON-CAPA user database for other domains.
\item For searches by users within your domain, you can limit the users
who can use directory search based on institutional status
\item Set which types of search method - username, last name or last name,first
name are allowed for institutional searches
\item Set which types of search latitude - exact match, begins with or contains
- are allowed
\end{itemize}
In the case of a \char`\"{}contains\char`\"{} type search at least
three characters must be entered by the user as the search term. Searches
are case insensitive.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>