Remarks
Call the typedef class CColumnPrivileges to implement its parameter class CColumnPrivilegeInfo. See Schema Rowset Classes and Typedef Classes for more information on using typedef classes.
This class identifies the privileges on columns of tables, defined in the catalog, that are available to or granted by a given user.
The following table lists the class data members and their corresponding OLE DB Columns. See COLUMN_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_szTableCatalog | TABLE_CATALOG |
m_szTableSchema | TABLE_SCHEMA |
m_szTableName | TABLE_NAME |
m_szColumnName | COLUMN_NAME |
m_guidColumn | COLUMN_GUID |
m_nColumnPropID | COLUMN_PROPID |
m_szPrivilegeType | PRIVILEGE_TYPE |
m_bIsGrantable | IS_GRANTABLE |
#include <atldbsch.h>
See Also