'Declaration Public Overloads Shared Sub GrantSystemPrivilege( _ ByVal privilege As OracleQueueSystemPrivilege, _ ByVal grantee As String, _ ByVal adminOption As Boolean, _ ByVal connection As OracleConnection _ )
public static void GrantSystemPrivilege( OracleQueueSystemPrivilege privilege, string grantee, bool adminOption, OracleConnection connection )
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.