AUTHLIB Procedure

Restrictions: Users cannot access metadata-bound data sets from any release of SAS prior to the second maintenance release of SAS 9.3.

This procedure is intended for use by SAS administrators. Users who lack sufficient privileges in either the metadata layer or the host layer cannot use this statement.

This procedure does not support libraries accessed through a SAS/SHARE Server.

Requirement: A connection to the target metadata server.
See: For more information, see SAS Guide to Metadata-Bound Libraries.

Syntax

PROC AUTHLIB <option-1 <...option-n>>;
CREATE
SECUREDLIBRARY='secured-library-name'
<SECUREDFOLDER='secured-folder-path'>
<LIBRARY=libref>
PW=all-password-value | |
ALTER=alter-password-value
READ=read-password-value
WRITE=write-password-value;
MODIFY
<LIBRARY=libref>
PW=all-password | |
ALTER=alter-password
READ=read-password
WRITE=write-password
<TABLESONLY=YES|NO>;
REMOVE
<LIBRARY=libref>
PW=all-password | |
ALTER=alter-password
READ=read-password
WRITE=write-password;
REPAIR ADD | UPDATE | DELETE
LOCATION | METADATA
SECUREDLIBRARY='secured-library-name'
SECUREDFOLDER='secured-folder-path'
<SECUREDLIBRARYGUID='secured-library-guid'>
<LIBRARY=libref>
PW=all-password | |
ALTER=alter-password
READ=read-password
WRITE=write-password
<TABLESONLY=YES | NO>;
REPORT
<LIBRARY=libref>;
TABLES SAS-file-1 | _ALL_ | _NONE_
<SAS-file-n>
<LIBRARY=libref>
PW=all-password | |
ALTER=alter-password
READ=read-password
WRITE=write-password
< SECUREDTABLEGUID='secured-table-guid'>;

Table of Procedure Tasks

Statement Task Example
PROC AUTHLIB Statement Create and manage metadata-bound libraries  
CREATE Statement Create the secured library object in the SAS Metadata Server and record the physical security information in the directory or bound files Ex. 1, Ex. 2, Ex. 3, Ex. 4
MODIFY Statement Modify password values for a metadata-bound library Ex. 5, Ex. 6
REMOVE Statement Remove the physical security information and metadata objects that protect a metadata-bound library Ex. 7
(Preproduction) REPAIR Statement Recover security information (in physical data) or secured library and table objects (in metadata)  
REPORT Statement For a specified metadata-bound library, compare physical library contents with corresponding metadata objects (in order to identify any inconsistencies). Ex. 8
TABLES Statement Specify which tables within a specified metadata-bound library are affected by certain AUTHLIB statements Ex. 4, Ex. 9