Esempio n. 1
0
 public FrmAddRole(IPrivilegeBLL privilegeBLL, IRoleBLL roleBLL, UserPrincipal currentUser)
 {
     this.privilegeBLL = privilegeBLL;
     this.roleBLL      = roleBLL;
     this.currentUser  = currentUser;
     InitializeComponent();
 }
Esempio n. 2
0
 public FrmProfileInfo(IPrivilegeBLL privilegeBLL, IProfileBLL profileBLL, UserPrincipal currentUser)
 {
     this.privilegeBLL = privilegeBLL;
     this.profileBLL   = profileBLL;
     this.currentUser  = currentUser;
     InitializeComponent();
 }
 public FrmAddRoleToUser(UserManagementClassicBLL OracleView, IPrivilegeBLL privilegeBLL, UserPrincipal currentUser)
 {
     this.OracleView   = OracleView;
     this.privilegeBLL = privilegeBLL;
     this.currentUser  = currentUser;
     InitializeComponent();
 }
Esempio n. 4
0
 public FrmRoleInfo(IPrivilegeBLL privilegeBLL, IRoleBLL roleBLL, Role role, UserPrincipal currentUser)
 {
     this.privilegeBLL = privilegeBLL;
     this.roleBLL      = roleBLL;
     this.role         = role;
     this.currentUser  = currentUser;
     InitializeComponent();
 }
Esempio n. 5
0
 public frmUserInfo(UserManagementBLL view, UserManagementClassicBLL OracleView, IPrivilegeBLL privilegeBLL, UserPrincipal currentUser)
 {
     this.view         = view;
     this.OracleView   = OracleView;
     this.privilegeBLL = privilegeBLL;
     this.currentUser  = currentUser;
     InitializeComponent();
 }
 public FrmGrantSystemPrivilege(IPrivilegeBLL privilegeBLL, IRoleBLL roleBLL,
                                UserManagementBLL userManagementBLL, UserPrincipal currentUser)
 {
     this.privilegeBLL      = privilegeBLL;
     this.roleBLL           = roleBLL;
     this.userManagementBLL = userManagementBLL;
     this.currentUser       = currentUser;
     InitializeComponent();
 }
Esempio n. 7
0
        public FrmMain()
        {
            InitializeComponent();
            this.currentUser = new UserPrincipal();

            this.context = new IISEntities();

            this.sysViewBLL = new SysViewBLL(this.context);

            this.userManagementBLL        = new UserManagementBLL(this.context);
            this.userManagementClassicBLL = new UserManagementClassicBLL(this.context);

            this.profileBLL   = new ProfileBLL(this.context);
            this.roleBLL      = new RoleBLL(this.context);
            this.privilegeBLL = new PrivilegeBLL(this.context);
        }
 public FrmRevokeSystemPrivilege(IPrivilegeBLL privilegeBLL, UserPrincipal currentUser)
 {
     this.privilegeBLL = privilegeBLL;
     this.currentUser  = currentUser;
     InitializeComponent();
 }