This project contains a .cs file with many helpful classes and methods in order to communicate with Temple's Web Services
Contact the Authors @[[email protected]](http://tumail.temple.edu)or
@[[email protected]](http://tumail.temple.edu)
``` Missing from this project (for obvious security reasons) are: 1)Links for web service calls that you will create NOTE:The Names for these web services are hardcoded in the TempleUser.cs page if you want them to say something else you will have to rename them 2)WSInfo class where you will store your username and password ``` ## Classes [LDAPuser](#ldapuser)
[Term](#term)
[StudentObj](#studentobj)
[College](#college)
[WebService](#webservice)
This Class is used as the primary object for users in your system and holds the following properties
- string templeEduID (91XXXXXXX)
- string uID (accessnet)
- string cn (Full name)
- string givenName (First Name)
- string sn (Last Name)
- string ediPersonAffiliation (list of affiliations - employee,staff,student,member,faculty)
- string eduPersonPrimaryAffiliation (single primary affiliation)
- string mail (email)
- string title (Temple Title)
This Class is the object to get Term information holds the following properties
- string termCode (Temple Given TermCode)
- string termName (Name of Term)
- string startDate (First Day of Term)
- string endDate (Last Day of Term)
- string registrationStartDate (Obvious)
- string registrationEndDate (We cant help you anymore if you dont know what this is)
This Class is used to create a Student object with more "Student" detail than LDAPuser
- string firstName (duh)
- string middleInit (middle initial... not initialize)
- string lastName (...)
- string tuid (Temple ID number)
- string email (EMAIL)
- string school (school on record for student)
- string major1 (primary major)
- string major2 (another if applicable)
This is a simple class to give you organization for objects holding just the collegeName and collegeCode
Back to Class List
This static Class holds many helpful functions that are already built to interact with the web services provided to you. below are a list of methods that can be called
- getLDAPEntryByTUID(string templeID)
- getLDAPEntryByAccessnet(string accessnet)
- getLDAPEntryByEmailAlias(string email)
- getCurrentTerm()
- getTermByTermCode(string termCode)
- GetTermByDate(string date)
- getAllColleges()
- getCollegeNameByCollegeCode(string CollegeCode)
- getStudentInfo(string TUID)
- getFacultyTitleByTUID(string TUID)
this method takes in a Temple users ID (91xxxxxxx) and returns an LDAPuser object with all known properties
this method takes in a Temple users AccessNet and returns an LDAPuser object with all known properties
this method takes in an email address and returns the LDAPuser object with all known properties
this method returns the current term that we are in
this method takes in a termCode and returns a Term object associated with it
this method takes in a date (string) and returns a Term object associated with it
returns an array of all colleges as College Objects
this method takes in a CollegeCode and returns a string of CollegeName
this method takes in a Temple users ID (91xxxxxxx) and returns a student object with all known properties
this method takes in a Temple users ID (91xxxxxxx) and returns a string of the title of that faculty member