SpreadWebServcie.NameExists Method

 

下面例子展示了如何驗證壹個賬號名稱在Spread中是否已注冊.

參數

參數

類型

描述

loginEmail

String

Spread賬號的登錄郵箱.

APIKey

String

Spread賬號的密碼或者API Key.

accountName

String

被驗證的賬號名稱.

返回結果

True 如果存在,否則false.

例子

string loginEmail = "Spread@reasonables.com";

string APIKey = "Spread";

string accountName ="testAccount";

SpreadAPI.SpreadWebService MySpread = new SpreadAPI.SpreadWebService();

bool  result = MySpread.NameExists (loginEmail, APIKey,accountName );

參見

SpreadWebService Class | Spread Web Service Namespace