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
only get the result set for the users who are making a pass-through
connection and not for all users.
To list all the users
in the password database, submit the following:
select *
from connection
to sasspds
(select *
from dictionary.pwdb)
To select only the user
name and last log in date, submit:
select *
from connection
to sasspds
(select user, log_date
from dictionary.pwdb);