working demo
This commit is contained in:
parent
b194d2031d
commit
a8de581c09
6 changed files with 216 additions and 27 deletions
|
|
@ -105,7 +105,7 @@ async function getPrimaryParent(student_upn) {
|
|||
}
|
||||
}
|
||||
|
||||
async function listStudents(upn) {
|
||||
async function getStudentsByParent(upn) {
|
||||
// Search for students with the parent's UPN in their primaryParent attribute
|
||||
let opts = {
|
||||
filter: `(primaryParent=${upn})`,
|
||||
|
|
@ -136,7 +136,7 @@ module.exports = {
|
|||
getUserType: getUserType,
|
||||
getUserTypeFromDN: getUserTypeFromDN,
|
||||
setPrimaryParent: setPrimaryParent,
|
||||
listStudents: listStudents,
|
||||
getStudentsByParent: getStudentsByParent,
|
||||
getPrimaryParent: getPrimaryParent,
|
||||
USER_TYPE: USER_TYPE
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue