An OraclePermissionAttribute
object enables ODP.NET to enforce declarative security and helps ensure that a user has a security level adequate for accessing data.
System.Object
System.Attribute
System.Security.Permissions.SecurityAttribute
System.Security.Permissions.CodeAccessSecurityAttribute
System.Data.Common.DBDataPermissionAttribute
Oracle.DataAccess.Client.OraclePermissionAttribute
// C# [Serializable, AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)] public sealed class OraclePermissionAttribute: DBDataPermissionAttribute
Provider | ODP.NET, Unmanaged Driver | ODP.NET, Managed Driver |
Assembly | Oracle.DataAccess.dll |
Oracle.ManagedDataAccess.dll |
Namespace | Oracle.DataAccess.Client |
Oracle.ManagedDataAccess.Client |
.NET Framework | 3.5, 4.0, 4.5 | 4.0, 4.5 |
All public static methods are thread-safe, although instance methods do not guarantee thread safety.
See Also:
OraclePermissionAttribute
members are listed in the following tables.
OraclePermissionAttribute Constructor
The OraclePermissionAttribute
constructor is listed in Table 6-116.
Table 6-116 OraclePermission Constructor
Constructor | Description |
---|---|
Instantiates a new instance of the |
OraclePermissionAttribute Static Methods
The OraclePermissionAttribute
static methods are listed in Table 6-117.
Table 6-117 OraclePermissionAttribute Static Methods
Static Methods | Description |
---|---|
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
OraclePermissionAttribute Public Properties
The OraclePermissionAttribute
public properties are listed in Table 6-118.
Table 6-118 OraclePermissionAttribute Public Properties
Public Properties | Description |
---|---|
|
Inherited from |
|
Inherited from
|
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
OraclePermissionAttribute Public Methods
The OraclePermissionAttribute
public methods are listed in Table 6-119.
Table 6-119 OraclePermissionAttribute Public Methods
Public Methods | Description |
---|---|
Returns a new |
|
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
The OraclePermissionAttribute
constructor instantiates new instances of the OraclePermissionAttribute
class.
// C#
public OraclePermissionAttribute (SecurityAction action);
action
A System.Security.Permissions.SecurityAction
value representing an action that can be performed using declarative security.
The OraclePermissionAttribute
static methods are listed in Table 6-120.
Table 6-120 OraclePermissionAttribute Static Methods
Static Methods | Description |
---|---|
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
The OraclePermissionAttribute
public properties are listed in Table 6-121.
Table 6-121 OraclePermissionAttribute Public Properties
Public Properties | Description |
---|---|
|
Inherited from |
|
Inherited from
|
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
The OraclePermissionAttribute
public methods are listed in Table 6-122.
Table 6-122 OraclePermissionAttribute Public Methods
Public Methods | Description |
---|---|
Returns a new |
|
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
See Also: