Displays the privileges,
including inheritance, for users and groups on schemas, catalogs and
data services. Both views show all direct (explicit) and inherited
privileges based on the privileges of the user and group, or its group
membership.
The PRIVILEGES result
set contains rows for users and groups that have any privilege directly
set. If a user or group does not have any direct privilege, it will
not be shown in this view. It is a condensed view of the EFFECTIVE_PRIVILEGES
view.
The EFFECTIVE_PRIVILEGES
result set contains rows for all users and groups that have any privilege
directly set or a privilege can be derived from its group membership.
For example, if a user does not have any privileges set on any of
the Federation Server objects, the user will
still be in the result set if the user is a member of a group that
has a direct privilege set.
By default, if a privilege
is not explicitly listed in the result sets, it is denied.
Note: Both of these views can return
very large result sets depending on the configuration of SAS Federation Server.
Subsetting on DATA_SERVICE, CATALOG_NAME, and/or SCHEMA_NAME can reduce
the size of the result set.
The table below lists
the columns that are associated with the PRIVILEGES and EFFECTIVE_PRIVILEGES
view:
|
|
|
|
|
|
|
Specifies the name of
the data service.
|
|
|
|
Specifies the name of
the catalog.
|
|
|
|
Specifies the name of
the schema.
|
|
|
|
Specifies the AuthID
of the user that granted or denied the privilege.
|
|
|
|
Specifies the name of the user who is granted or denied the
privilege.
|
|
|
|
Specifies the grantor
type as U (User) or R (Role).
|
|
|
|
Specifies the AuthID
of the user that is granted or denied the privilege.
|
|
|
|
Specifies the name of the user who is granted or denied
the privilege.
|
|
|
|
Specifies the privilege
name as one of the following values:
|
|
|
|
Specifies the privilege
type as GRANT or DENY.
|
|
|
|
Specifies if the privilege
can be granted. The only valid value is or N (No).
|
|
|
|
Indicates if the privilege
is inherited as either Y or N.
|
|
|
|
Specifies the object
level where the privilege is inherited, as one of the following values:
|
|
|
|
Specifies the AuthID
of a group or user from which the privilege is derived.
|
|
|
|
Specifies the name of
the group or user from which the privilege is derived.
|
|
|
|
Specifies the source_grantee
type as U (User) or G (Group).
|