dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleQueueAdmin Class / GrantSystemPrivilege Method / GrantSystemPrivilege(OracleQueueSystemPrivilege,String,Boolean,OracleConnection) Method
The Oracle Streams AQ system privilege to grant.
Grantee(s). The grantee(s) can be a user, a role, or the PUBLIC role.
Specifies if the system privilege is granted with the ADMIN option or not. If the privilege is granted with the ADMIN option, the grantee is allowed to use this procedure to grant the system privilege to other users or roles.
A OracleConnection that represents the connection to an instance of Oracle server.

In This Topic
GrantSystemPrivilege(OracleQueueSystemPrivilege,String,Boolean,OracleConnection) Method
In This Topic
Grants Oracle Streams AQ system privileges to users and roles.
Syntax
'Declaration
 
Public Overloads Shared Sub GrantSystemPrivilege( _
   ByVal privilege As OracleQueueSystemPrivilege, _
   ByVal grantee As String, _
   ByVal adminOption As Boolean, _
   ByVal connection As OracleConnection _
) 
 

Parameters

privilege
The Oracle Streams AQ system privilege to grant.
grantee
Grantee(s). The grantee(s) can be a user, a role, or the PUBLIC role.
adminOption
Specifies if the system privilege is granted with the ADMIN option or not. If the privilege is granted with the ADMIN option, the grantee is allowed to use this procedure to grant the system privilege to other users or roles.
connection
A OracleConnection that represents the connection to an instance of Oracle server.
See Also