TO_ACLID Function
The TO_ACLID function returns the ACL IDs of the ACL names supplied to it.
Syntax
TO_ACLID(
(acls IN VARCHAR(128))+)
return NUMBER;
Parameters
| Parameter | Description |
|---|---|
acls |
The ACL names whose ACL IDs are returned. |
Examples
The following example uses the TO_ACLID function to return the ACL ID for ACL1.
SELECT ORA_CHECK_ACL(TO_ACLID('ACL1'),'P1', 'P2') INTO ACLRESULT FROM DUAL;