Webservices API Manual
7
Function
Result
Parameters
Explanation
CreateAccount
Creates a new
user with an
account in the
BackupAgent
Server and
returns an
integer
string
ParentUserUserInfo
userInfoAccountInfo
accInfostring
Usernamestring
Passwordstring
[Obsolete]string
[Obsolete]bool
SendEmail
The function creates
an account. Return
codes:
1: User Ok
-1: Unexpected error
-2: User exists
-5: Wrong Owner
ChangeUserInfoAdmin
Changes
UserInfo for a
user and
returns an
integer
string
ChangedUserUserInfo
newInfo
The function
overwrites UserInfo
based on the new
UserInfo object.
Returns 1 if Ok, else
returns a negative
integer
ChangeAccountInfoAdmin
Changes
AccountInfo
for a user and
returns an
integer
string
ChangedUserAccountInfo
newInfo
The function
overwrites
AccountInfo based
on the new
AccountInfo object.
Returns 1 if Ok, else
returns a negative
integer
ActivateAccount
Activates a
new or
deactivated
account and
returns an
integer
string Usernamestring
Passwordbool Encrypted
The function
activates an account.
As administrator the
account can be
activated without
Password
DeactivateAccount
Deactivates
one or more
accounts and
returns an
integer
string[] Usernames
The function
deactivates all
accounts in the string
array
DeleteAccount
Deletes one or
more accounts
and returns an
integer
string[] Usernames
bool isReseller
The function deletes
all accounts and
removes all data in
the accounts.
Set 'isReseller' to
true to indicate that
the deleted users are
resellers/groups
ResetPassword
Resets
password and
string Username
The function resets
the password for a
user to ‘Backup01’