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.

RevokeQueuePrivilege Method
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also