This documentation is archived and is not being maintained.

OraclePermission.AllowBlankPassword Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Gets a value indicating whether a blank password is allowed.

[Visual Basic]
Public Property AllowBlankPassword As Boolean
public bool AllowBlankPassword {get; set;}
public: __property bool get_AllowBlankPassword();
public: __property void set_AllowBlankPassword(bool);
public function get AllowBlankPassword() : Boolean;
public function set AllowBlankPassword(Boolean);

Property Value

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.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

OraclePermission Class | OraclePermission Members | System.Data.OracleClient Namespace