UserInfoManger_class = function() {};
Object.extend(UserInfoManger_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	Login: function(user, password) {
		return this.invoke("Login", {"user":user, "password":password}, this.Login.getArguments().slice(2));
	},
	AdminiLogin: function(user, password) {
		return this.invoke("AdminiLogin", {"user":user, "password":password}, this.AdminiLogin.getArguments().slice(2));
	},
	Register: function(user, password, email, threadID) {
		return this.invoke("Register", {"user":user, "password":password, "email":email, "threadID":threadID}, this.Register.getArguments().slice(4));
	},
	CheckNameExist: function(name) {
		return this.invoke("CheckNameExist", {"name":name}, this.CheckNameExist.getArguments().slice(1));
	},
	GetNameById: function(threadID) {
		return this.invoke("GetNameById", {"threadID":threadID}, this.GetNameById.getArguments().slice(1));
	},
	GetTimeById: function(threadID) {
		return this.invoke("GetTimeById", {"threadID":threadID}, this.GetTimeById.getArguments().slice(1));
	},
	RemoveActiveUser: function(threadID) {
		return this.invoke("RemoveActiveUser", {"threadID":threadID}, this.RemoveActiveUser.getArguments().slice(1));
	},
	CheckLogined: function(threadID) {
		return this.invoke("CheckLogined", {"threadID":threadID}, this.CheckLogined.getArguments().slice(1));
	},
	UpdateActiveTime: function(threadID) {
		return this.invoke("UpdateActiveTime", {"threadID":threadID}, this.UpdateActiveTime.getArguments().slice(1));
	},
	AddStemmataCreator: function(stemmataID, userID) {
		return this.invoke("AddStemmataCreator", {"stemmataID":stemmataID, "userID":userID}, this.AddStemmataCreator.getArguments().slice(2));
	},
	IsManager: function(threadID) {
		return this.invoke("IsManager", {"threadID":threadID}, this.IsManager.getArguments().slice(1));
	},
	GetApplyList: function(familyId, tid) {
		return this.invoke("GetApplyList", {"familyId":familyId, "tid":tid}, this.GetApplyList.getArguments().slice(2));
	},
	AllowApply: function(familyId, allowuserId, userId, role) {
		return this.invoke("AllowApply", {"familyId":familyId, "allowuserId":allowuserId, "userId":userId, "role":role}, this.AllowApply.getArguments().slice(4));
	},
	ApplyRole: function(familyId, userId, role) {
		return this.invoke("ApplyRole", {"familyId":familyId, "userId":userId, "role":role}, this.ApplyRole.getArguments().slice(3));
	},
	GetRole: function(familyId, userId) {
		return this.invoke("GetRole", {"familyId":familyId, "userId":userId}, this.GetRole.getArguments().slice(2));
	},
	url: '/ajaxpro/UserInfoManger,App_Code.ashx'
}));
UserInfoManger = new UserInfoManger_class();

