public UserForm(DbAuthenticationProviderData dbAuthenticationProvider, ConfigurationContext context, string username) : this(dbAuthenticationProvider, context) { tbxUser.Text = username; tbxUser.Enabled = false; editMode = true; label3.Text = SR.NewPasswordLabel; }
public RoleForm(DbAuthenticationProviderData dbAuthenticationProviderData, ConfigurationContext context, string role) : this(dbAuthenticationProviderData, context) { tbxRole.Text = role; originalRoleName = role; editMode = true; UpdateSaveButtonEnabled(); }
public RoleForm(DbAuthenticationProviderData dbAuthenticationProviderData, ConfigurationContext context) { this.dbAuthenticationproviderData = dbAuthenticationProviderData; InitializeComponent(); this.userRoleMgr = new UserRoleManager(dbAuthenticationProviderData.Database, context); UpdateSaveButtonEnabled(); }
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(); }