  | AcademicServiceGetSchoolCourses Method  | 
 
            Gets all courses defined for a school/division.
            
 
    Namespace: 
   (Default Namespace)
    Assembly:
   SeniorSystemsWS (in SeniorSystemsWS.dll) Version: 937.0.0.0 (937.0.0.33)
Syntaxpublic Course[] GetSchoolCourses(
	string schoolID,
	bool nextYear,
	string authKey
)
Public Function GetSchoolCourses ( 
	schoolID As String,
	nextYear As Boolean,
	authKey As String
) As Course()
public:
array<Course^>^ GetSchoolCourses(
	String^ schoolID, 
	bool nextYear, 
	String^ authKey
)
public function GetSchoolCourses(
	schoolID : String, 
	nextYear : boolean, 
	authKey : String
) : Course[]
function GetSchoolCourses(schoolID, nextYear, authKey);
Parameters
- schoolID
 - Type: SystemString
The School ID. - nextYear
 - Type: SystemBoolean
If set to False, it will return Courses for the current academic year, otherwise
            it will return Courses for the next year. - authKey
 - Type: SystemString
Authentication Key obtained from the loginExt method in UserManagementService for a current administrator connection. 
Return Value
Type: 
CourseA list of 
Course objects.
Exceptions
Remarks
            The authorization key provided must be linked to an administrator role.
            
See Also