📄 iusers.cs
字号:
namespace PowerEasy.IDal.UserManage
{
using PowerEasy.Enumerations;
using PowerEasy.Model.UserManage;
using System;
using System.Collections.Generic;
public interface IUsers
{
bool Add(UserInfo usersInfo);
bool AddPoint(int infoPoint, string userName);
bool AddToAdminCompany(string userName);
bool AgreeJoinCompany(string userName, int companyClientId);
bool BatchAuditing(string id);
bool BatchLock(string userId);
bool BatchNormal(string id);
bool BatchUnlock(string userId);
bool Delete(int userId);
bool DeleteCompany(int companyId);
bool Exists(string userName);
bool ExistsUserByClientId(int clientId);
int ExportDataToAccess(string databaseName, int groupId);
IList<UserInfo> GetAllUsers(int startRowIndexId, int maxNumberRows, int groupId, string keyword, int listType);
int GetAuditingCompanyMemberCount(int companyId);
IList<UserInfo> GetListByCompanyId(int companyId);
int GetNumberOfUsers();
UserInfo GetUserById(int userId);
IList<UserInfo> GetUserByPost();
IList<string> GetUserMailByGroupId(int groupId);
IList<string[]> GetUserNameAndEmailList(int type, string value);
IList<string> GetUserNameList(int startRowIndexId, int maxiNumRows, int searchType, string keyword);
int GetUserNameListTotal(int searchType, string keyword);
UserInfo GetUsersByEmail(string email);
IList<UserInfo> GetUsersByGroupId(string groupId);
IList<UserInfo> GetUsersByUserId(string userId);
UserInfo GetUsersByUserName(string userName);
bool MinusPoint(int infoPoint, string userName);
bool MoveBetweenUserId(int startUserId, int endUserId, int groupId);
bool MoveByGroups(string groupId, int targetGroupId);
bool MoveByUserName(string userName, int groupId);
bool MoveByUsers(string userId, int groupId);
bool RemoveFromAdminCompany(string userName);
bool RemoveFromCompany(string userName);
bool SaveUserPurview(UserPurviewInfo userPurviewInfo, int userId);
bool SaveUserPurview(bool inheritGroupRole, int userId);
bool Update(UserInfo usersInfo);
bool Update(int userId, string fieldName, string fieldValue);
bool UpdateForCompany(int companyId, string userName, UserType userType, int companyClientId);
bool UpdateUserFriendGroup(string userName, string userFriendGroup);
int ValidateUser(string username, string password);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -