DBDataPermission
Enables a .NET data provider to help ensure that a user has a security level adequate for accessing data.
Gets a value indicating whether a blank password is allowed.
protected DBDataPermission()
Initializes a new instance of the DBDataPermission class.
Initializes a new instance of the DBDataPermission class using an existing DBDataPermission.
Initializes a new instance of the DBDataPermission class with the specified DBDataPermissionAttribute.
Initializes a new instance of the DBDataPermission class with the specified PermissionState value.
Initializes a new instance of the DBDataPermission class with the specified PermissionState value, and a value indicating whether a blank password is allowed.
public virtual void Add(string connectionString, string restrictions, KeyRestrictionBehavior behavior)
Adds access for the specified connection string to the existing state of the DBDataPermission.
Removes all permissions that were previously added using the Add method.
Creates a new instance of the DBDataPermission class.
Returns a value indicating whether the permission can be represented as unrestricted without any knowledge of the permission semantics.