예제 #1
0
파일: UserForm.cs 프로젝트: bnantz/NCS-V1-1
 public UserForm(DbAuthenticationProviderData dbAuthenticationProvider, ConfigurationContext context, string username)
     : this(dbAuthenticationProvider, context)
 {
     tbxUser.Text = username;
     tbxUser.Enabled = false;
     editMode = true;
     label3.Text = SR.NewPasswordLabel;
 }
예제 #2
0
파일: RoleForm.cs 프로젝트: bnantz/NCS-V1-1
 public RoleForm(DbAuthenticationProviderData dbAuthenticationProviderData, ConfigurationContext context, string role)
     : this(dbAuthenticationProviderData, context)
 {
     tbxRole.Text = role;
     originalRoleName = role;
     editMode = true;
     UpdateSaveButtonEnabled();
 }
예제 #3
0
파일: RoleForm.cs 프로젝트: bnantz/NCS-V1-1
        public RoleForm(DbAuthenticationProviderData dbAuthenticationProviderData, ConfigurationContext context)
        {
            this.dbAuthenticationproviderData = dbAuthenticationProviderData;
            InitializeComponent();

            this.userRoleMgr = new UserRoleManager(dbAuthenticationProviderData.Database, context);

            UpdateSaveButtonEnabled();
        }
예제 #4
0
파일: UserForm.cs 프로젝트: bnantz/NCS-V1-1
        public UserForm(DbAuthenticationProviderData dbAuthenticationProvider, ConfigurationContext context)
        {
            this.dbAuthenticationProvider = dbAuthenticationProvider;
            InitializeComponent();

            this.userRoleMgr = new UserRoleManager(dbAuthenticationProvider.Database, context);

            HashProviderFactory hashProviderFactory = new HashProviderFactory(context);
            this.hashProvider = hashProviderFactory.CreateHashProvider(dbAuthenticationProvider.HashProvider);
            UpdateSaveButtonEnabled();
        }