ClassKit UserNames usable?

We are developing an app that should have a ClassKit integration.

For our app it is necessary to get the username from ClassKit.

Is there a provided possibility for this.


thank you for your time

Accepted Reply

This thread has been deleted

Yes, data security w/ASM is a -major- factor.


From the docs, tho (which I suspect will generate more questions, but it might help firm them up, so...):


-=-

Apple School Manager lets you automatically create Managed Apple IDs for 
 all students and staff in the following ways:

You can can use federated authentication to connect Apple School Manager with your school’s Microsoft Azure Active Directory (AD) so users will be able to sign in to Apple Services with their Active Directory user name and password. Microsoft Azure AD is the Identity Provider (IdP), which contains the user names and passwords for the accounts you want to use with Apple School Manager. Federated authentication uses Security Assertion Markup Language (SAML) to connect Apple School Manager to Microsoft Azure AD. At no time is data written back to Azure AD.


You can also import only the necessary data from your Student Information System (SIS) or CSV files exported from your school’s directory service. Each user account is created with read-only information from the source. Additional information, such as the Managed Apple ID identifier and associated password, is added to the account information in Apple School Manager. At no time is data written back to your SIS.


Managed Apple IDs can also be created manually within Apple School Manager.

Each user account may have the following information associated with it, which can be viewed in the account list or when an account is selected:

• An alphanumeric ID unique to that account

• First, middle, and last name • Grade level, if provided
• Enrolled classes
• Email address, if provided • Role

• Location
• Source
• Date created • Date modified


Because Managed Apple IDs are created and assigned by your institution, you can easily reset passwords, inspect accounts, and define roles for everyone in the district. Anytime an account is inspected by an administrator or a password reset, Apple School Manager logs the action so a record of the activity is retained.


-=-



https://www.apple.com/education/docs/Data_and_Privacy_Overview_for_Schools.pdf

Replies

>For our app it is necessary to get the username from ClassKit.


Not sure it works that way - Apple expects CK to be -added to an existing educational app-, where the assumption would be that student meta data already resides....the app already has student names, CK pulls from there. CK is a downstream name consumer, not an upstream name provider.


https://developer.apple.com/documentation/classkit/incorporating_classkit_into_an_educational_app

Hi! There is no API in ClassKit that provides the signed in username. You can file enhancement requests via: https://developer.apple.com/bug-reporting/ . In the feedback, it helps to detail information as to the goal (what are you trying to do), if possible. For example, what are you trying to accomplish by having the username?

Hope that helps.