dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleQueueAdmin Class / GrantQueuePrivilege Method / GrantQueuePrivilege(OracleQueuePrivilege,String,Boolean) Method
Queue privilege to grant.
Grantee(s). The grantee(s) can be a user, a role, or the PUBLIC role.
Specifies if the access privilege is granted with the GRANT option or not. If the privilege is granted with the GRANT option, the grantee is allowed to use this procedure to grant the access privilege to other users or roles, regardless of the ownership of the queue table.

In This Topic
    GrantQueuePrivilege(OracleQueuePrivilege,String,Boolean) Method
    In This Topic
    Grants privileges on a queue to users and roles.
    Syntax
    'Declaration
     
    Public Overloads Sub GrantQueuePrivilege( _
       ByVal privilege As OracleQueuePrivilege, _
       ByVal grantee As String, _
       ByVal grantOption As Boolean _
    ) 
    public void GrantQueuePrivilege( 
       OracleQueuePrivilege privilege,
       string grantee,
       bool grantOption
    )

    Parameters

    privilege
    Queue privilege to grant.
    grantee
    Grantee(s). The grantee(s) can be a user, a role, or the PUBLIC role.
    grantOption
    Specifies if the access privilege is granted with the GRANT option or not. If the privilege is granted with the GRANT option, the grantee is allowed to use this procedure to grant the access privilege to other users or roles, regardless of the ownership of the queue table.
    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