OracleRoleCollection Class

The OracleRoleCollection class represents a collection of roles that can be set on new connections or connections retrieved from a connection pool programmatically.

Class Inheritance

System.Object

Oracle.ManagedDataAccess.Client.OracleRoleCollection

Declaration

// C#
public sealed class OracleRoleCollection

Requirements

Provider ODP.NET, Managed Driver ODP.NET Core

Assembly

Oracle.ManagedDataAccess.dll

Oracle.ManagedDataAccess.dll

Namespace

Oracle.ManagedDataAccess.Client

Oracle.ManagedDataAccess.Client

.NET Framework

See System Requirements

-

.NET (Core)

-

See System Requirements

Thread Safety

Instance methods do not guarantee thread safety.

Remarks

Database role names are case sensitive. If a name without double-quotes is specified in the database, it automatically converts all its characters to upper case. If double quotes are specified, the upper and lower case letters are maintained in the database. Oracle does not allow starting a role name with single quote.