web:webprotect:authbyppy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
web:webprotect:authbyppy [2017/12/21 19:39] jasweb:webprotect:authbyppy [2017/12/22 08:25] (current) jas
Line 25: Line 25:
   PYorkAllowEveryone on   PYorkAllowEveryone on
  
-The Passport York module will provide different information to you depending on whether it's run from your home directory, or in the course web directory.  If used in your home directory, you can access the HTTP_PYORK_USER variable which contains the username of the PPY user.  This is also available as REMOTE_USER. If you enable Passport York account to a course directory,you will have access to additional variables including:  +If you're writing a CGI/PHP script, you can take advantage of the HTTP_PYORK_USER variable which contains the username of the PPY user.  This is also available as REMOTE_USER.
- +
-  * HTTP_PYORK_CYIN = staff/student number +
-  * HTTP_PYORK_FIRSTMAME = first name and initial  +
-  * HTTP_PYORK_SURNAME = last name and initial +
-  * HTTP_PYORK_EMAIL = York Email +
-  * HTTP_PYORK_TYPE = type of account (eg. EMPLOYEE:STAFF) +
- +
-NOTE: Temporarily, in order to access these additional variables, you will need to enable "PYorkAllowEveryone on" above.  +
  
 You should include a link on your page that allows users to logout of Passport York: You should include a link on your page that allows users to logout of Passport York:
web/webprotect/authbyppy.1513903181.txt.gz · Last modified: 2017/12/21 19:39 by jas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki