version 1.1170, 2012/05/18 20:03:22
|
version 1.1171, 2012/05/18 20:16:48
|
Line 11682 B<rolesinit($udom,$username)>: get user
|
Line 11682 B<rolesinit($udom,$username)>: get user
|
returns user role, first access and timer interval hashes |
returns user role, first access and timer interval hashes |
|
|
=item * |
=item * |
|
X<privileged()> |
|
B<privileged($username,$domain)>: returns a true if user has a |
|
privileged and active role (i.e. su or dc), false otherwise. |
|
|
|
=item * |
X<getsection()> |
X<getsection()> |
B<getsection($udom,$uname,$cname)>: finds the section of student in the |
B<getsection($udom,$uname,$cname)>: finds the section of student in the |
course $cname, return section name/number or '' for "not in course" |
course $cname, return section name/number or '' for "not in course" |