ODAC

TOraQueueTable.GrantSystemPrivilege Method

Grants system queue privilege.

Class

TOraQueueTable

Syntax

procedure GrantSystemPrivilege(Privilege: TQueueSystemPrivilege; const Grantee: string; AdminOption: boolean = False);

Parameters
Privilege
Holds a system privilege to a grant.
Grantee
Holds the user name, a role, or a PUBLIC role.
AdminOption
Specifies whether the privilege will be granted with ADMIN OPTION.

Remarks

Call the GrantSystemPrivilege method to grant system queue privilege. Privilege parameter is a system privilege to grant. Can be qspEnqueueAny (ENQUEUE_ANY privilege), qspDequeueAny (DEQUEUE_ANY privilege), qspManageAny (MANAGE_ANY privilege). Grantee parameter is a grantee - can be a user, a role, or the PUBLIC role. AdminOption parameter specifies whether the privilege will be granted with ADMIN OPTION.

See Also

© 1997-2022 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback