OleDbSchemaGuid::Usage_Privileges Field
Returns the USAGE privileges on objects defined in the catalog that are available to or granted by a given user.
Assembly: System.Data (in System.Data.dll)
Usage_Privileges maps to the OLE DB USAGE_PRIVILEGES rowset. Unless otherwise specified, restriction columns are returned in the following order.
Restriction column | CLR data type | Description |
|---|---|---|
OBJECT_CATALOG | string | Catalog name in which the object is defined. A null value if the provider does not support catalogs. |
OBJECT_SCHEMA | string | Unqualified schema name in which the object is defined. A null value if the provider does not support schemas. |
OBJECT_NAME | string | Object name. |
OBJECT_TYPE | string | Object type. One of the following: DOMAIN, CHARACTER SET, COLLATION, or TRANSLATION. |
GRANTOR | string | User that granted the privileges on the object in OBJECT_NAME. |
GRANTEE | string | User name (or "PUBLIC") that the privilege has been granted to. |
Available since 1.1