Apache CloudStack 4.18.0.0 Root Admin API Reference

importLdapUsers

Import LDAP users

Request parameters

Parameter NameDescriptionRequired
accountCreates the user under the specified account. If no account is specified, the username will be used as the account name.false
accountdetailsdetails for account used to store specific parametersfalse
accounttypeType of the account. Specify 0 for user, 1 for root admin, and 2 for domain adminfalse
domainidSpecifies the domain to which the ldap users are to be imported. If no domain is specified, a domain will created using group parameter. If the group is also not specified, a domain name based on the OU information will be created. If no OU hierarchy exists, will be defaulted to ROOT domainfalse
groupSpecifies the group name from which the ldap users are to be imported. If no group is specified, all the users will be imported.false
keywordList by keywordfalse
pagefalse
pagesizefalse
roleidCreates the account under the specified role.false
timezoneSpecifies a timezone for this command. For more information on the timezone parameter, see Time Zone Format.false

Response Tags

Response NameDescription
conflictingusersourceThe authentication source for this user as known to the system or empty if the user is not yet in cloudstack.
domainThe user's domain
emailThe user's email
firstnameThe user's firstname
lastnameThe user's lastname
principalThe user's principle
usernameThe user's username