Oracle® Data Provider for .NET Developer's Guide 11g Release 2 (11.2.0.3) Part Number E23174-02 |
|
|
PDF · Mobi · ePub |
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
// ADO.NET 2.0:C# [Serializable, AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)] public sealed class OraclePermissionAttribute: DBDataPermissionAttribute
All public static methods are thread-safe, although instance methods do not guarantee thread safety.
Namespace: Oracle.DataAccess.Client
Assembly: Oracle.DataAccess
See Also:
OraclePermissionAttribute
members are listed in the following tables.
OraclePermissionAttribute Constructor
The OraclePermissionAttribute
constructor is listed in Table 5-94.
Table 5-94 OraclePermission Constructor
Constructor | Description |
---|---|
Instantiates a new instance of the |
OraclePermissionAttribute Static Methods
The OraclePermissionAttribute
static methods are listed in Table 5-95.
Table 5-95 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 5-96.
Table 5-96 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 5-97.
Table 5-97 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.
See Also:
The OraclePermissionAttribute
static methods are listed in Table 5-98.
Table 5-98 OraclePermissionAttribute Static Methods
Static Methods | Description |
---|---|
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
See Also:
The OraclePermissionAttribute
public properties are listed in Table 5-99.
Table 5-99 OraclePermissionAttribute Public Properties
Public Properties | Description |
---|---|
|
Inherited from |
|
Inherited from
|
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
|
Inherited from |
See Also:
The OraclePermissionAttribute
public methods are listed in Table 5-100.
Table 5-100 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:
This method returns a new OraclePermissionAttribute
object that is configured based on the attributes set.
// C# public override IPermission CreatePermission();
An OraclePermission
object.