Поделиться через


CUsagePrivileges, CUsagePrivilegeInfo

Call the typedef class CUsagePrivileges to implement its parameter class CUsagePrivilegeInfo.

Remarks

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

This class identifies the USAGE privileges on objects 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 USAGE_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_szObjectCatalog

OBJECT_CATALOG

m_szObjectSchema

OBJECT_SCHEMA

m_szObjectName

OBJECT_NAME

m_szObjectType

OBJECT_TYPE

m_szPrivilegeType

PRIVILEGE_TYPE

m_bIsGrantable

IS_GRANTABLE

Requirements

Header: atldbsch.h

See Also

Reference

CRestrictions Class