--- loncom/html/adm/help/tex/Institutional_Integration_Format_Checks.tex 2008/07/28 18:12:46 1.1
+++ loncom/html/adm/help/tex/Institutional_Integration_Format_Checks.tex 2009/03/09 01:58:57 1.4
@@ -1,3 +1,4 @@
+\label{Institutional_Integration_Format_Checks}
Format restrictions for usernames and student/employeeIDs for an institution,
and formats which may \emph{not} be used for e-mail addresses used
as usernames when users self-create accounts are defined in three
@@ -80,7 +81,7 @@ each key, value is a hash
\item \$rulesorder - reference to array containing rule names in order to
be displayed
\end{enumerate}
-At MSU, studentIDs and employee IDs are eight digits prefaced by A
+At MSU, student/employee IDs are eight digits prefaced by A
or Z. The rule itself is defined in \emph{id\_rules()}, and the code
which checks for compliance is in \emph{id\_check()}:
@@ -203,7 +204,7 @@ The routines used for checking rule comp
\begin{quotation}
\texttt{if (\$item eq 'netid') \{}
\begin{quotation}
-\texttt{if (\$uname =\~{} /^\textbackslash{}w\{2,8\}\$/)
+\texttt{if (\$uname =\~{} /\^{}\textbackslash{}w\{2,8\}\$/)
\{}
\begin{quotation}
\texttt{\$resultshash->\{\$item\} = 1;}
@@ -240,7 +241,7 @@ The routines used for checking rule comp
\begin{quotation}
\texttt{if (\$item eq 'facstaffID') \{}
\begin{quotation}
-\texttt{if (\$id =\~{} /^z\textbackslash{}d\{8\}\$/i)
+\texttt{if (\$id =\~{} /\^{}z\textbackslash{}d\{8\}\$/i)
\{}
\begin{quotation}
\texttt{\$resultshash->\{\$item\} = 1;}
@@ -253,7 +254,7 @@ The routines used for checking rule comp
\end{quotation}
\texttt{\} elsif (\$item eq 'studentID') \{}
\begin{quotation}
-\texttt{if (\$id =\~{} /^a\textbackslash{}d\{8\}\$/i)
+\texttt{if (\$id =\~{} /\^{}a\textbackslash{}d\{8\}\$/i)
\{}
\begin{quotation}
\texttt{\$resultshash->\{\$item\} = 1;}
@@ -291,7 +292,7 @@ The routines used for checking rule comp
\begin{quotation}
\texttt{if (\$item eq 'msuemail') \{}
\begin{quotation}
-\texttt{if (\$selfcreatename =\~{} /^\textbackslash{}w\{2,8\}\textbackslash{}@msu\textbackslash{}.edu\$/)
+\texttt{if (\$selfcreatename =\~{} /\^{}\textbackslash{}w\{2,8\}\textbackslash{}@msu\textbackslash{}.edu\$/)
\{}
\begin{quotation}
\texttt{\$resultshash->\{\$item\} = 1;}