|
odbc_tableprivilegesLists tables and the privileges associated with each table Description
Odbc\Resultfalse odbc_tableprivileges(
Odbc\Connection $odbc,stringnull $catalog,string $schema,string $table) Lists tables in the requested range and the privileges associated with each table. Parameters
Return Values
Returns an ODBC result object or The result set has the following columns:
The result set is ordered by Changelog
ExamplesExample #1 List Privileges of a Table The above example will output something similar to:
Array
(
[TABLE_CAT] => SalesOrders
[TABLE_SCHEM] => dbo
[TABLE_NAME] => Orders
[GRANTOR] => dbo
[GRANTEE] => dbo
[PRIVILEGE] => DELETE
[IS_GRANTABLE] => YES
)
See Also
|