42.16. setUseOrgUnit

Name
setUseOrgUnit
Description
Set whether we place users into the organization that corresponds to the "orgunit" set on the IPA server. The orgunit name must match exactly the Satellite organization name. Can only be called by a satellite_admin.
Parameters
  • string sessionKey
  • boolean useOrgUnit - True if we should use the IPA orgunit to determine which organization to create the user in, false otherwise.
Return Value
  • int - 1 on success, exception thrown otherwise.