OleDbSchemaGuid.Usage_Privileges Field

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the USAGE privileges on objects defined in the catalog that are available to or granted by a given user.

Namespace:   System.Data.OleDb
Assembly:  System.Data (in System.Data.dll)

public static readonly Guid Usage_Privileges

Field Value

Type: System.Guid

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.

.NET Framework
Available since 1.1
Return to top
Show: