var WebITUser=function() {
WebITUser.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebITUser.prototype={
Login:function(accounts,password,succeededCallback, failedCallback, userContext) {
return this._invoke(WebITUser.get_path(), 'Login',false,{accounts:accounts,password:password},succeededCallback,failedCallback,userContext); },
CheckAccounts:function(accounts,succeededCallback, failedCallback, userContext) {
return this._invoke(WebITUser.get_path(), 'CheckAccounts',false,{accounts:accounts},succeededCallback,failedCallback,userContext); },
RegistAccounts:function(accounts,password,name,company,address,postalcode,phoneNumber,email,succeededCallback, failedCallback, userContext) {
return this._invoke(WebITUser.get_path(), 'RegistAccounts',false,{accounts:accounts,password:password,name:name,company:company,address:address,postalcode:postalcode,phoneNumber:phoneNumber,email:email},succeededCallback,failedCallback,userContext); },
UpdatePassword:function(password,succeededCallback, failedCallback, userContext) {
return this._invoke(WebITUser.get_path(), 'UpdatePassword',false,{password:password},succeededCallback,failedCallback,userContext); },
UpdatePassword2:function(userId,password,succeededCallback, failedCallback, userContext) {
return this._invoke(WebITUser.get_path(), 'UpdatePassword2',false,{userId:userId,password:password},succeededCallback,failedCallback,userContext); }}
WebITUser.registerClass('WebITUser',Sys.Net.WebServiceProxy);
WebITUser._staticInstance = new WebITUser();
WebITUser.set_path = function(value) { WebITUser._staticInstance._path = value; }
WebITUser.get_path = function() { return WebITUser._staticInstance._path; }
WebITUser.set_timeout = function(value) { WebITUser._staticInstance._timeout = value; }
WebITUser.get_timeout = function() { return WebITUser._staticInstance._timeout; }
WebITUser.set_defaultUserContext = function(value) { WebITUser._staticInstance._userContext = value; }
WebITUser.get_defaultUserContext = function() { return WebITUser._staticInstance._userContext; }
WebITUser.set_defaultSucceededCallback = function(value) { WebITUser._staticInstance._succeeded = value; }
WebITUser.get_defaultSucceededCallback = function() { return WebITUser._staticInstance._succeeded; }
WebITUser.set_defaultFailedCallback = function(value) { WebITUser._staticInstance._failed = value; }
WebITUser.get_defaultFailedCallback = function() { return WebITUser._staticInstance._failed; }
WebITUser.set_path("/WebService/WebITUser.asmx");
WebITUser.Login= function(accounts,password,onSuccess,onFailed,userContext) {WebITUser._staticInstance.Login(accounts,password,onSuccess,onFailed,userContext); }
WebITUser.CheckAccounts= function(accounts,onSuccess,onFailed,userContext) {WebITUser._staticInstance.CheckAccounts(accounts,onSuccess,onFailed,userContext); }
WebITUser.RegistAccounts= function(accounts,password,name,company,address,postalcode,phoneNumber,email,onSuccess,onFailed,userContext) {WebITUser._staticInstance.RegistAccounts(accounts,password,name,company,address,postalcode,phoneNumber,email,onSuccess,onFailed,userContext); }
WebITUser.UpdatePassword= function(password,onSuccess,onFailed,userContext) {WebITUser._staticInstance.UpdatePassword(password,onSuccess,onFailed,userContext); }
WebITUser.UpdatePassword2= function(userId,password,onSuccess,onFailed,userContext) {WebITUser._staticInstance.UpdatePassword2(userId,password,onSuccess,onFailed,userContext); }
