Verifying Access to Metadata-Bound Data

Who Can Read Metadata-Bound Data?

In order to read metadata-bound data, you must connect to the target metadata server as an identity that has the following metadata-layer effective access:
If you are accessing the data from a client that uses metadata in order to locate data, you must also have the ReadMetadata permission for the corresponding traditional table object.
If the data is accessed through the MLE, you must also have the Read permission for the corresponding traditional table object.

Example

This example demonstrates one way to verify Read access to data.
In this example, you connect to a metadata server as a restricted user, set up a libref that points at a metadata-bound library, and then write a description of the contents of one of the metadata-bound tables within that library.
options
     metaserver="machine.company.com"
     metauser="sasdemo"
     metapass="********";

libname secdemo 'path';

proc datasets library=secdemo nolist;
   contents data=EMPINFO out=testout;
   title 'Contents of the Metadata-Bound Table EMPINFO';
run;