MCPcopy Create free account
hub / github.com/apache/cloudstack / move

Method move

tools/marvin/marvin/lib/base.py:310–321  ·  view source on GitHub ↗
(self, api_client, dest_accountid=None, dest_account=None, domain=None)

Source from the content-addressed store, hash-verified

308 apiclient.deleteUser(cmd)
309
310 def move(self, api_client, dest_accountid=None, dest_account=None, domain=None):
311
312 if all([dest_account, dest_accountid]) is None:
313 raise Exception("Please add either destination account or destination account ID.")
314
315 cmd = moveUser.moveUserCmd()
316 cmd.id = self.id
317 cmd.accountid = dest_accountid
318 cmd.account = dest_account
319 cmd.domain = domain
320
321 return api_client.moveUser(cmd)
322
323 @classmethod
324 def list(cls, apiclient, **kwargs):

Implementers 1

UserVOengine/schema/src/main/java/com/cloud/

Calls 2

moveUserMethod · 0.65
allFunction · 0.50