To list all ACL objects for a user by using a pass-through connection, first establish
an SQL pass-through
connection to SPD Server using ACLSPECIAL=YES.
proc sql;
connect to sasspds (dbq='tmp' server=localhost.5400
user='admin'
password='spds123'
ACLSPECIAL=YES);
Note: Without ACLSPECIAL=YES, you get the result
set only for the users who are making a pass-through connection and
not for all users.
Then, submit the following
command:
select *
from connection
to sasspds
(select *
from dictionary.acls);
To find any ACL objects that specify Jones as the owner, submit the following command:
select *
from connection
to sasspds
(select *
from dictionary.acls
where owner = "Jones");