OraclePermission.AllowBlankPassword Property


Gets a value indicating whether a blank password is allowed.

Namespace:   System.Data.OracleClient
Assembly:  System.Data.OracleClient (in System.Data.OracleClient.dll)

public bool AllowBlankPassword { get; set; }

Property Value

Type: System.Boolean

true if a blank password is allowed, otherwise false.

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

.NET Framework
Available since 1.1
Return to top