var DynamicPopulate=function() {
DynamicPopulate.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DynamicPopulate.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return DynamicPopulate._staticInstance.get_path();},
UserNameExists:function(contextKey,succeededCallback, failedCallback, userContext) {
/// <param name="contextKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'UserNameExists',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
EmailExists:function(contextKey,succeededCallback, failedCallback, userContext) {
/// <param name="contextKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'EmailExists',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetRankPath:function(userId,succeededCallback, failedCallback, userContext) {
/// <param name="userId" type="String">System.Guid</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetRankPath',false,{userId:userId},succeededCallback,failedCallback,userContext); },
GetUsers:function(sub,count,succeededCallback, failedCallback, userContext) {
/// <param name="sub" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetUsers',false,{sub:sub,count:count},succeededCallback,failedCallback,userContext); },
GetNickName:function(userId,succeededCallback, failedCallback, userContext) {
/// <param name="userId" type="String">System.Guid</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetNickName',false,{userId:userId},succeededCallback,failedCallback,userContext); },
ValidateMessage:function(nickName,succeededCallback, failedCallback, userContext) {
/// <param name="nickName" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'ValidateMessage',false,{nickName:nickName},succeededCallback,failedCallback,userContext); },
GetPermissions:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetPermissions',false,{},succeededCallback,failedCallback,userContext); },
RemoveFile:function(fileId,succeededCallback, failedCallback, userContext) {
/// <param name="fileId" type="String">System.Guid</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'RemoveFile',false,{fileId:fileId},succeededCallback,failedCallback,userContext); },
GetAuthors:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetAuthors',false,{},succeededCallback,failedCallback,userContext); },
GetAuthor:function(name,succeededCallback, failedCallback, userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetAuthor',false,{name:name},succeededCallback,failedCallback,userContext); },
AddAuthor:function(name,succeededCallback, failedCallback, userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'AddAuthor',false,{name:name},succeededCallback,failedCallback,userContext); }}
DynamicPopulate.registerClass('DynamicPopulate',Sys.Net.WebServiceProxy);
DynamicPopulate._staticInstance = new DynamicPopulate();
DynamicPopulate.set_path = function(value) {
DynamicPopulate._staticInstance.set_path(value); }
DynamicPopulate.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return DynamicPopulate._staticInstance.get_path();}
DynamicPopulate.set_timeout = function(value) {
DynamicPopulate._staticInstance.set_timeout(value); }
DynamicPopulate.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return DynamicPopulate._staticInstance.get_timeout(); }
DynamicPopulate.set_defaultUserContext = function(value) { 
DynamicPopulate._staticInstance.set_defaultUserContext(value); }
DynamicPopulate.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return DynamicPopulate._staticInstance.get_defaultUserContext(); }
DynamicPopulate.set_defaultSucceededCallback = function(value) { 
 DynamicPopulate._staticInstance.set_defaultSucceededCallback(value); }
DynamicPopulate.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return DynamicPopulate._staticInstance.get_defaultSucceededCallback(); }
DynamicPopulate.set_defaultFailedCallback = function(value) { 
DynamicPopulate._staticInstance.set_defaultFailedCallback(value); }
DynamicPopulate.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return DynamicPopulate._staticInstance.get_defaultFailedCallback(); }
DynamicPopulate.set_enableJsonp = function(value) { DynamicPopulate._staticInstance.set_enableJsonp(value); }
DynamicPopulate.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return DynamicPopulate._staticInstance.get_enableJsonp(); }
DynamicPopulate.set_jsonpCallbackParameter = function(value) { DynamicPopulate._staticInstance.set_jsonpCallbackParameter(value); }
DynamicPopulate.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return DynamicPopulate._staticInstance.get_jsonpCallbackParameter(); }
DynamicPopulate.set_path("/Common/DynamicPopulate.asmx");
DynamicPopulate.UserNameExists= function(contextKey,onSuccess,onFailed,userContext) {
/// <param name="contextKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DynamicPopulate._staticInstance.UserNameExists(contextKey,onSuccess,onFailed,userContext); }
DynamicPopulate.EmailExists= function(contextKey,onSuccess,onFailed,userContext) {
/// <param name="contextKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DynamicPopulate._staticInstance.EmailExists(contextKey,onSuccess,onFailed,userContext); }
DynamicPopulate.GetRankPath= function(userId,onSuccess,onFailed,userContext) {
/// <param name="userId" type="String">System.Guid</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DynamicPopulate._staticInstance.GetRankPath(userId,onSuccess,onFailed,userContext); }
DynamicPopulate.GetUsers= function(sub,count,onSuccess,onFailed,userContext) {
/// <param name="sub" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DynamicPopulate._staticInstance.GetUsers(sub,count,onSuccess,onFailed,userContext); }
DynamicPopulate.GetNickName= function(userId,onSuccess,onFailed,userContext) {
/// <param name="userId" type="String">System.Guid</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DynamicPopulate._staticInstance.GetNickName(userId,onSuccess,onFailed,userContext); }
DynamicPopulate.ValidateMessage= function(nickName,onSuccess,onFailed,userContext) {
/// <param name="nickName" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DynamicPopulate._staticInstance.ValidateMessage(nickName,onSuccess,onFailed,userContext); }
DynamicPopulate.GetPermissions= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DynamicPopulate._staticInstance.GetPermissions(onSuccess,onFailed,userContext); }
DynamicPopulate.RemoveFile= function(fileId,onSuccess,onFailed,userContext) {
/// <param name="fileId" type="String">System.Guid</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DynamicPopulate._staticInstance.RemoveFile(fileId,onSuccess,onFailed,userContext); }
DynamicPopulate.GetAuthors= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DynamicPopulate._staticInstance.GetAuthors(onSuccess,onFailed,userContext); }
DynamicPopulate.GetAuthor= function(name,onSuccess,onFailed,userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DynamicPopulate._staticInstance.GetAuthor(name,onSuccess,onFailed,userContext); }
DynamicPopulate.AddAuthor= function(name,onSuccess,onFailed,userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DynamicPopulate._staticInstance.AddAuthor(name,onSuccess,onFailed,userContext); }

