code/Athena0.0.1/bll/AccountsPrincipal.cs
(开头部分) 15KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Security.Principal;
using Athena.model;
using Athena.Idal;
using Athena.basedal;
//项目名称:Athena标准开发框架
//版本:0.0.1
//开发团队成员:周庆 王露 张婷婷 陈祚松 张梦丽 艾美珍 胡凯雨 陈兰兰 夏萍萍 康文洋 易传佳
//模块及代码页功能描述:当前用户相关信息列表
//最后修改时间:2018-01-11
//修改日志:
namespace Athena.bll
{
public class AccountsPrincipal:IPrincipal
{
public user currentuser = new user();
public role currentrole = new role();
#region 属性
protected IIdentity identity;
protected List<action> actionList;//当前用户拥有的权限列表
protected List<role> roleList;//当前用户的所有角色列表
protected List<resource> menuList;//当前用户的所有菜单资源列表,type=1;
protected List<resource> toolbarList;//当前用户的所有工具条资源列表,type=2;
protected List<resource> buttonList;//当前用户的所有按钮资源列表,type=3;
protected List<resource> scriptList;//当前用户的所有脚本资源列表,type=4;
protected List<resource> fileList;//当前用户的所有文件资源列表,type=5;
/////////////////////////////////////////////工作流相关////////////////////////////////////
protected List<action> wfCtrlActionList;//当前用户拥有的工作流控制器方法权限列表
protected List<workflownodeaction> wfActionList;//当前用户的所有拥有的工作流节点方法权限列表
///////////////////////////工作流相关//////////////////////////////////////////////////
/// <summary>
/// 当前用户的所有的工作流控制器方法权限
/// </summary>
public List<action> WorkflowCtrlActions
{
get
{
return wfCtrlActionList;
}
}
/// <summary>
/// 当前用户拥有的工作流节点方法权限列表
/// </summary>
public List<workflownodeaction> WorkflowActions
{
get
{
return wfActionList;
}
}
////////////////////////////////////////////////////////////
/// <summary>
/// 当前用户的所有角色
/// </summary>
后面还有 411 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
