Chapter Contents |
Previous |
Next |
QUEUE_GETSEC |
Syntax | |
QUEUE_GETSEC Example |
Syntax |
CALL QUEUE_GETSEC(queueId, rc, security); |
Where... | Is type... | And represents... |
---|---|---|
queueId | N | queue identifier |
rc | N | return code |
security | C | security permissions string |
If an error or a warning condition is encountered, a non-zero return code is returned in the rc parameter. Use the SYSMSG() function to print the message that is associated with the non-zero rc.
The security parameter is the access control list for the queue. This parameter is returned in the form
'user1:permissions,user2:permissions,...' |
QUEUE_GETSEC Example |
This example obtains a list of user privileges for a specific queue.
length security $200; security=""; call queue_getsec(qid, rc, security); if rc ne 0 then do; msg = sysmsg(); put msg; end; else do; put 'User Access Rights:'; put security; end;
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.