CTablePrivileges, CTablePrivilegeInfo

Call the typedef class CTablePrivileges to implement its parameter class CTablePrivilegeInfo.

Remarks

See Schema Rowset Classes and Typedef Classes for more information on using typedef classes.

This class identifies the tables defined in the catalog that are accessible to a given user.

The following table lists the class data members and their corresponding OLE DB Columns. See TABLE_PRIVILEGES Rowset in the OLE DB Programmer's Reference for more information about the schema and columns.

Data members

OLE DB columns

m_szGrantor

GRANTOR

m_szGrantee

GRANTEE

m_szCatalog

TABLE_CATALOG

m_szSchema

TABLE_SCHEMA

m_szName

TABLE_NAME

m_szType

PRIVILEGE_TYPE

m_bIsGrantable

IS_GRANTABLE

Requirements

Header: atldbsch.h

See Also

Concepts

CRestrictions Class