(self, api_client, dest_accountid=None, dest_account=None, domain=None)
| 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): |