 | AcademicServiceGetStudentsForSection Method |
Gets the class roster (students) for section.
Namespace:
(Default Namespace)
Assembly:
SeniorSystemsWS (in SeniorSystemsWS.dll) Version: 937.0.0.0 (937.0.0.33)
Syntaxpublic Person[] GetStudentsForSection(
string schoolID,
string sectionID,
int markingperiodID,
bool nextYear,
string authKey
)
Public Function GetStudentsForSection (
schoolID As String,
sectionID As String,
markingperiodID As Integer,
nextYear As Boolean,
authKey As String
) As Person()
public:
array<Person^>^ GetStudentsForSection(
String^ schoolID,
String^ sectionID,
int markingperiodID,
bool nextYear,
String^ authKey
)
public function GetStudentsForSection(
schoolID : String,
sectionID : String,
markingperiodID : int,
nextYear : boolean,
authKey : String
) : Person[]
function GetStudentsForSection(schoolID, sectionID, markingperiodID, nextYear, authKey);
Parameters
- schoolID
- Type: SystemString
The School ID. - sectionID
- Type: SystemString
The Section ID. - markingperiodID
- Type: SystemInt32
The desired marking period (or 0). - nextYear
- Type: SystemBoolean
If set to False, it will return the Students assigned to the Section for the current academic year, otherwise
it will return the Students assigned for the next year. - authKey
- Type: SystemString
Authentication Key obtained from the loginExt method in UserManagementService for a current administrator connection.
Return Value
Type:
PersonA list of
Person objects.
Exceptions
RemarksA marking period is required since students may withdraw during the year. The marking period
will restrict the students to only those who were in the section during that marking period.
Use marking period = 0 to only show those students who never withdrew.
The authorization key provided must be linked to an administrator role.
See Also