dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleQueueAdmin Class / RevokeQueuePrivilege Method
Queue privilege to revoke.
Grantee(s). The grantee(s) can be a user, a role, or the PUBLIC role. If the privilege has been propagated by the grantee through the GRANT option, the propagated privilege is also revoked.

In This Topic
RevokeQueuePrivilege Method
In This Topic
Revokes privileges on a queue from users and roles. The privileges are Enqueue or Dequeue.
Syntax
'Declaration
 
Public Sub RevokeQueuePrivilege( _
   ByVal privilege As OracleQueuePrivilege, _
   ByVal grantee As String _
) 
 

Parameters

privilege
Queue privilege to revoke.
grantee
Grantee(s). The grantee(s) can be a user, a role, or the PUBLIC role. If the privilege has been propagated by the grantee through the GRANT option, the propagated privilege is also revoked.
Remarks
To revoke a privilege, the revoker must be the original grantor of the privilege. The privileges propagated through the GRANT option are revoked if the grantor's privileges are revoked.
See Also