Skip to content

a series of classes made specifically for IS&T Capstone

Notifications You must be signed in to change notification settings

TempleDev/capstoneUsers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

capstoneUsers

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)

LDAPuser

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)

Back to Class List

Term

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)
[Back to Class List](#classes)

StudentObj

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)
[Back to Class List](#classes)

College

This is a simple class to give you organization for objects holding just the collegeName and collegeCode
Back to Class List

WebService

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)
  • this method takes in a Temple users ID (91xxxxxxx) and returns an LDAPuser object with all known properties

  • getLDAPEntryByAccessnet(string accessnet)
  • this method takes in a Temple users AccessNet and returns an LDAPuser object with all known properties

  • getLDAPEntryByEmailAlias(string email)
  • this method takes in an email address and returns the LDAPuser object with all known properties

  • getCurrentTerm()
  • this method returns the current term that we are in

  • getTermByTermCode(string termCode)
  • this method takes in a termCode and returns a Term object associated with it

  • GetTermByDate(string date)
  • this method takes in a date (string) and returns a Term object associated with it

  • getAllColleges()
  • returns an array of all colleges as College Objects

  • getCollegeNameByCollegeCode(string CollegeCode)
  • this method takes in a CollegeCode and returns a string of CollegeName

  • getStudentInfo(string TUID)
  • this method takes in a Temple users ID (91xxxxxxx) and returns a student object with all known properties

  • getFacultyTitleByTUID(string TUID)
  • this method takes in a Temple users ID (91xxxxxxx) and returns a string of the title of that faculty member

[Back to Class List](#classes)

About

a series of classes made specifically for IS&T Capstone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published