System.Data.Common.DBDataPermission.AllowBlankPassword Property

Gets a value indicating whether a blank password is allowed.

Syntax

public bool AllowBlankPassword { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The System.Security.Permissions.PermissionState enumeration takes precedence over the DBDataPermission.AllowBlankPassword property. Therefore, if you set DBDataPermission.AllowBlankPassword to false, you must also set System.Security.Permissions.PermissionState to None to prevent a user from making a connection using a blank password.

Requirements

Namespace: System.Data.Common
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0