Apache CloudStack 4.15.0.0 Root Admin API Reference
ldapCreateAccount
Creates an account from an LDAP user
Request parameters
Parameter Name | Description | Required |
username | Unique username. | true |
account | Creates the user under the specified account. If no account is specified, the username will be used as the account name. | false |
accountdetails | details for account used to store specific parameters | false |
accountid | Account UUID, required for adding account from external provisioning system | false |
accounttype | Type of the account. Specify 0 for user, 1 for root admin, and 2 for domain admin | false |
domainid | Creates the user under the specified domain. | false |
networkdomain | Network domain for the account's networks | false |
roleid | Creates the account under the specified role. | false |
timezone | Specifies a timezone for this command. For more information on the timezone parameter, see Time Zone Format. | false |
userid | User UUID, required for adding account from external provisioning system | false |
Response Tags
Response Name | Description |
id | the id of the account |
accountdetails | details for the account |
accounttype | account type (admin, domain-admin, user) |
cpuavailable | the total number of cpu cores available to be created for this account |
cpulimit | the total number of cpu cores the account can own |
cputotal | the total number of cpu cores owned by account |
defaultzoneid | the default zone of the account |
domain | name of the Domain the account belongs to |
domainid | id of the Domain the account belongs to |
domainpath | path of the Domain the account belongs to |
groups | the list of acl groups that account belongs to |
ipavailable | the total number of public ip addresses available for this account to acquire |
iplimit | the total number of public ip addresses this account can acquire |
iptotal | the total number of public ip addresses allocated for this account |
iscleanuprequired | true if the account requires cleanup |
isdefault | true if account is default, false otherwise |
memoryavailable | the total memory (in MB) available to be created for this account |
memorylimit | the total memory (in MB) the account can own |
memorytotal | the total memory (in MB) owned by account |
name | the name of the account |
networkavailable | the total number of networks available to be created for this account |
networkdomain | the network domain |
networklimit | the total number of networks the account can own |
networktotal | the total number of networks owned by account |
primarystorageavailable | the total primary storage space (in GiB) available to be used for this account |
primarystoragelimit | the total primary storage space (in GiB) the account can own |
primarystoragetotal | the total primary storage space (in GiB) owned by account |
projectavailable | the total number of projects available for administration by this account |
projectlimit | the total number of projects the account can own |
projecttotal | the total number of projects being administrated by this account |
receivedbytes | the total number of network traffic bytes received |
roleid | the ID of the role |
rolename | the name of the role |
roletype | the type of the role (Admin, ResourceAdmin, DomainAdmin, User) |
secondarystorageavailable | the total secondary storage space (in GiB) available to be used for this account |
secondarystoragelimit | the total secondary storage space (in GiB) the account can own |
secondarystoragetotal | the total secondary storage space (in GiB) owned by account |
sentbytes | the total number of network traffic bytes sent |
snapshotavailable | the total number of snapshots available for this account |
snapshotlimit | the total number of snapshots which can be stored by this account |
snapshottotal | the total number of snapshots stored by this account |
state | the state of the account |
templateavailable | the total number of templates available to be created by this account |
templatelimit | the total number of templates which can be created by this account |
templatetotal | the total number of templates which have been created by this account |
vmavailable | the total number of virtual machines available for this account to acquire |
vmlimit | the total number of virtual machines that can be deployed by this account |
vmrunning | the total number of virtual machines running for this account |
vmstopped | the total number of virtual machines stopped for this account |
vmtotal | the total number of virtual machines deployed by this account |
volumeavailable | the total volume available for this account |
volumelimit | the total volume which can be used by this account |
volumetotal | the total volume being used by this account |
vpcavailable | the total number of vpcs available to be created for this account |
vpclimit | the total number of vpcs the account can own |
vpctotal | the total number of vpcs owned by account |
user(*) | the list of users associated with account |
id | the user ID |
account | the account name of the user |
accountid | the account ID of the user |
accounttype | the account type of the user |
apikey | the api key of the user |
created | the date and time the user account was created |
domain | the domain name of the user |
domainid | the domain ID of the user |
the user email address | |
firstname | the user firstname |
iscallerchilddomain | the boolean value representing if the updating target is in caller's child domain |
isdefault | true if user is default, false otherwise |
lastname | the user lastname |
roleid | the ID of the role |
rolename | the name of the role |
roletype | the type of the role |
secretkey | the secret key of the user |
state | the user state |
timezone | the timezone user was created in |
username | the user name |
usersource | the source type of the user in lowercase, such as native, ldap, saml2 |