[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

droeschl droeschl at source.lon-capa.org
Fri May 18 16:16:49 EDT 2012


droeschl		Fri May 18 20:16:49 2012 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  POD for privileged().
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1170 loncom/lonnet/perl/lonnet.pm:1.1171
--- loncom/lonnet/perl/lonnet.pm:1.1170	Fri May 18 20:03:22 2012
+++ loncom/lonnet/perl/lonnet.pm	Fri May 18 20:16:48 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.1170 2012/05/18 20:03:22 droeschl Exp $
+# $Id: lonnet.pm,v 1.1171 2012/05/18 20:16:48 droeschl Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -11682,6 +11682,11 @@
 returns user role, first access and timer interval hashes
 
 =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()>
 B<getsection($udom,$uname,$cname)>: finds the section of student in the
 course $cname, return section name/number or '' for "not in course"




More information about the LON-CAPA-cvs mailing list