Example - Listing The Users In The Password Database Using Sql Pass-Through; Example - Listing Acl Objects Using Sql Pass-Through - SAS Scalable Performance Data Server 4.5 Administrator's Manual

Table of Contents

Advertisement

DICTIONARY.ACLS {owner char(8) Label = 'Owner'
Example - Listing the Users in the Password Database using SQL
Pass-Through
First, establish an SQL pass-through connection to SPD Server. To list all the users in the
password database, submit the following:
To select only the user name and last log in date, submit:

Example - Listing ACL Objects using SQL Pass-Through

To list all ACL objects for a user making a pass-through connection, submit the following:
To find any ACL objects where "Jones" is the owner, submit the following:
Example - Listing ACL Objects using SQL Pass-Through
othgrps char(40) Label = 'Other Groups'
expire char(6) Label = 'Expire Period'
mod_date char(32) Label = 'Password Last Modified'
log_date char(32) Label = 'Last Login'
timeout char(6) Label = 'Timeout Period'
strikes char(6) Label = 'Failed Login Attempts'}
group char(8) Label = 'Group'
defacs char(56) Label = 'Default Access'
grpacs char(56) Label = 'Group Access'}
select *
from connection
to sasspds
(select *
from dictionary.pwdb)
select *
from connection
to sasspds
(select user, log_date
from dictionary.pwdb);
select *
from connection
to sasspds
(select *
from dictionary.acls);
select *
from connection
to sasspds
(select *
from dictionary.acls
where owner = "Jones");
187

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Scalable Performance Data Server 4.5 and is the answer not in the manual?

Table of Contents