权限设计思路(9)
发布时间:2021-06-07
发布时间:2021-06-07
/// <param name="newPwd">新密码</param>
/// <returns>是否成功</returns>
public bool UpdatePwd(BaseUserInfoLog BaseUser, string newPwd)
{
throw new NotImplementedException();
}
/// <summary>
/// 获得用户的所有权限
/// </summary>
/// <param name="BaseUser">操作人</param>
/// <param name="userno">用户编码</param>
/// <returns>权限集合</returns>
public List<Right> Process(BaseUserInfoLog BaseUser, string userno)
{
throw new NotImplementedException();
}
/// <summary>
/// 登用户登陆
/// </summary>
/// <param name="BaseUser">操作人员</param>
/// <param name="UserNo">用户名</param>
/// <param name="Pwd">密码</param>
/// <returns></returns>
public bool Login(BaseUserInfoLog BaseUser, string UserNo, string Pwd)
{
throw new NotImplementedException();
}
/// <summary>
/// 查看用户列表
/// </summary>
/// <param name="BaseUser">操作人</param>
/// <returns>返回是List</returns>
public List<User> Searchlist(BaseUserInfoLog BaseUser)
{
throw new NotImplementedException();
}
}
2.2角色类
//定义角色类
public class Role