web:webprotect:authbyppy
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
web:webprotect:authbyppy [2017/12/21 19:39] – jas | web: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 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/ | + | |
- | * 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: | + | |
- | + | ||
- | NOTE: Temporarily, | + | |
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