File:
[LON-CAPA] /
loncom /
html /
adm /
help /
tex /
Institutional_Integration_User_Categories.tex
Revision
1.1:
download - view:
text,
annotated -
select for diffs
Tue Jul 29 18:01:22 2008 UTC (16 years ago) by
raeburn
Branches:
MAIN
CVS tags:
version_2_9_X,
version_2_9_99_0,
version_2_9_1,
version_2_9_0,
version_2_8_X,
version_2_8_99_1,
version_2_8_99_0,
version_2_8_2,
version_2_8_1,
version_2_8_0,
version_2_7_X,
version_2_7_99_1,
version_2_7_99_0,
version_2_7_1,
version_2_7_0,
version_2_6_99_1,
version_2_11_0_RC3,
version_2_11_0_RC2,
version_2_11_0_RC1,
version_2_10_X,
version_2_10_1,
version_2_10_0_RC2,
version_2_10_0_RC1,
version_2_10_0,
loncapaMITrelate_1,
language_hyphenation_merge,
language_hyphenation,
bz6209-base,
bz6209,
bz5969,
bz2851,
PRINT_INCOMPLETE_base,
PRINT_INCOMPLETE,
HEAD,
GCI_3,
GCI_2,
GCI_1,
BZ5971-printing-apage,
BZ5434-fox,
BZ4492-merge,
BZ4492-feature_horizontal_radioresponse
- Document Institutional User Categories/Affiliations.
1: \label{Institutional_Integration_User_Categories}
2: Users in a domain can be assigned one or more institutional affiliations
3: by the Autoupdate process which reconciles user information in LON-CAPA
4: with institutional directory information. User type (or affiliation)
5: can determine such things as (a) default portfolio quota, (b) the
6: types of user information which may be updated in different contexts,
7: (c) whether a user can self-enroll in a course. The possible institutional
8: types in a domain are defined by \emph{inst\_usertypes()}. Examples
9: of institutional types might be: Faculty, Adjunct, Staff, Student
10: etc. In addition to any types defined in \emph{inst\_usertypes()}, a type
11: {}``other'' will also be available for assignment to users who do
12: not fall in any of the recognized categories of user. In the absence
13: of any defined user categories, the type {}``other'' applies to
14: all users from a domain.
15:
16: \textbf{\large inst\_usertypes}{\large \par}
17:
18: The routine accepts three arguments:
19:
20: \begin{enumerate}
21: \item \$dom - domain
22: \item \$usertypes - reference to hash which will contain key = value, where
23: keys are institution affiliation types (e.g., Faculty, Student etc.)
24: and values are titles (e.g., Faculty/Academic Staff)
25: \item \$order - reference to array which will contain the order in which
26: institutional types should be shown when displaying data tables (e.g.,
27: default quotas or updateable user fields (see Domain Configuration
28: menu)
29: \end{enumerate}
30: The routine returns 'ok' if no errors occurred.
31:
32: At MSU there are six different categories of users.
33:
34: \begin{quotation}
35: \texttt{sub inst\_usertypes \{}
36: \begin{quotation}
37: \texttt{my (\$dom,\$usertypes,\$order) = @\_;}
38:
39: \texttt{my \$outcome = 'ok';}
40:
41: \texttt{\%\{\$usertypes\} = (}
42: \begin{quotation}
43: \texttt{Faculty => 'Faculty/Academic Staff',}
44:
45: \texttt{Staff => 'Support Staff',}
46:
47: \texttt{Student => 'Student',}
48:
49: \texttt{Assistant => 'Assistant',}
50:
51: \texttt{StaffAff => 'Affiliate',}
52:
53: \texttt{StuAff => 'Student Affiliate'}
54: \end{quotation}
55: \texttt{);}
56:
57: \texttt{@\{\$order\}=('Faculty','Staff','Student','Assistant','StaffAff','StuAff');}
58:
59: \texttt{return \$outcome;}
60: \end{quotation}
61: \texttt{\}}
62: \end{quotation}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>