...
The EnrollUser() method is used to enroll a user given a service and (optionally) an organization. You cannot associate an internal user with an organization.
Package Details
Interface
IServiceManager
...
ServiceManager.EnrollUser(int userId, int serviceId, int? organizationId = null )
Returns
Task
API
Implementation Notes
Internal users must not be associated with any organizations.
POST
/api/v1/services/{serviceId}/enrolluser?userId={userId}&organizationId={organizationId}
...