The APPSRV_AUTHCLS function
reads the AUTHLIB data set and returns a WHERE clause. This clause
references the variable names LIBNAME, MEMNAME, MEMTYPE, OBJNAME,
and OBJTYPE. It can be applied to the SQL dictionary views and other
views in the SASHELP library. The returned clause can be used to subset
the entities in the current SAS session to only the entities that
are authorized by the AUTHLIB data set. The returned clause can be
combined with a user-determined clause by using the "and" token to
create a compound clause that selects the desired entities, provided
that access is authorized.
If the value of type
is LIBRARY, then the returned clause contains only the LIBNAME variable.
If the value of type is MEMBER, then the returned clause contains
the LIBNAME, MEMNAME, and MEMTYPE variables. If the value of type
is CATALOGENTRY, then the returned clause contains the LIBNAME, MEMNAME,
MEMTYPE, OBJNAME, and OBJTYPE variables.