public static void XStudents_GetXStudentsAccounts(XPress xPress) { if (xPress.GetXStudentUsers(SCHOOL_REFID).Data != null) { foreach (XStudentType s in xPress.GetXStudentUsers(SCHOOL_REFID).Data) { Console.WriteLine("loginId: " + s.appProvisioningInfo.loginId); Console.WriteLine("tempPassword: "******"tempExpiryDate: " + s.appProvisioningInfo.tempPasswordExpiryDate); } } }