I'm trying to add a user (newly created) to a specific org unit in my Google Apps domain, but I can't seem to find any documentation or examples on this. Is this even possible? Perhaps through the use of plain REST calls?
My code so far to create a user:
var user = UserManager.createUser(userName, firstName, lastName, "welcome").setChangePasswordAtNextLogin(true);
Now I want to attach the user to a specific org unit, and make it a member of certain groups (but that's another question I'm diving into).
Any help will greatly be appreciated!
Regards,
Kees.