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