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 _
    ) 
    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.
    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