Date: Thu, 9 Apr 2009 10:30:19 -0400
Reply-To: Michael Raithel <michaelraithel@WESTAT.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Michael Raithel <michaelraithel@WESTAT.COM>
Subject: Re: Blocked user access
In-Reply-To: <9cbbc2620904090444g64fe9055ube7440e783d4d145@mail.gmail.com>
Content-Type: text/plain; charset="us-ascii"
Dear SAS-L-ers,
Yenny Lyne posted the following:
> Hi all,
> I would like to temporarily block user access to library via
> Enterprise Guide. Is there a way to disable access
> temporarily instead of deleting user account in SMC ?
>
Yenny, if Alex's suggestion does not pan out, try mine. A brute force way to do this would be to simply rename the library directory. So, if it is named:
D:\Yennys\EG\Directory
...rename it to:
D:\Yennys\EG\Directory_disabled
Then, the hapless person (or persons) who is the object of the blocking effort will not be able to get to it via the already-defined LIBNAME. You could use the SYSTEM call routine or function to rename the directory, so that you are keeping everything within SAS code.
Could that work for you?
Yenny, best of luck in all of your SAS endeavors!
I hope that this suggestion proves helpful now, and in the future!
Of course, all of these opinions and insights are my own, and do not reflect those of my organization or my associates. All SAS code and/or methodologies specified in this posting are for illustrative purposes only and no warranty is stated or implied as to their accuracy or applicability. People deciding to use information in this posting do so at their own risk.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Michael A. Raithel
"The man who wrote the book on performance"
E-mail: MichaelRaithel@westat.com
Author: Tuning SAS Applications in the MVS Environment
Author: Tuning SAS Applications in the OS/390 and z/OS Environments, Second Edition
http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&pc=58172
Author: The Complete Guide to SAS Indexes
http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&pc=60409
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Reality is not always probable, or likely. - Jorge Luis Borges
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++