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