\label{Domain_Configuration_InstDirectory_Search}
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 username 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 institutional 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.
\item For searches by users within your domain, you can limit the users
who can use institutional 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
\item Set whether accounts within the LON-CAPA domain itself can be searched by
users with privileges to add users to a course.
\item Set whether users from other domains can search within a LON-CAPA domain.
\end{itemize}
In the case of a {}``contains'' 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>