SpreadWebServcie.CreateNewAccount Method

 

下面的例子展示如何添加新的子账号.

参数

参数

类型

描述

loginEmail

String

Spread账号的登录邮箱.

password

String

Spread账号的密码或者API Key.

newAccountName 

String

新账号的名称.

newAccountEmail

String

新账号的登录邮箱.

newAccountPassword

String

新账号的密码.

返回结果

True 如果成功,否则False.

例子

string loginName = "spread@reasonables.com";

string loginPassword = "spread";

string newAccountName = "newAccount";

string newAccountEmail = "newSpreader@reasonables.com";

string newAccountPassword = "password";

 

SpreadWS.SpreadWebService mySpread = new SpreadWS.SpreadWebService();

bool result = mySpread.CreateNewAccount (loginName, loginPassword,newAccountName

     ,newAccountEmail ,newAccountPassword );

参见

SpreadWebService Class | Spread Web Service Namespace