I'm trying to set up a way for admins to create new users with student, parent, or school observer roles. However, I can't find in the API documentation how to use the CreateUsers2 command and make a new user an observer to either a single student or a school. Is there a field for CreateUsers2 that will allow me, for example, to create a new parent user linked to a student?
The CreateUsers2 API command is the correct command to create new users. However, to grant a user to be an observer over another user or enrollment requires updating their rights. A user's RightsFlags can be updated using the UpdateRights API command to make them an observer.
If you need additional API support concerning this topic, we encourage you to contact your organization's authorized support contact to escalate and submit a ticket to Agilix Support.
Comments (1)
Hey Zachary!
The CreateUsers2 API command is the correct command to create new users. However, to grant a user to be an observer over another user or enrollment requires updating their rights. A user's RightsFlags can be updated using the UpdateRights API command to make them an observer.
If you need additional API support concerning this topic, we encourage you to contact your organization's authorized support contact to escalate and submit a ticket to Agilix Support.