ODBCDatabase.TablePrivileges
From Xojo Documentation
Method
ODBCDatabase.TablePrivileges(TableName as String) As RecordSet
Supported for all project types and targets.
Supported for all project types and targets.
Returns a RecordSet with a list of privileges for the specified table. If the database supports multiple catalogs and schemas, then the RecordSet will contain records for all catalogs and schemas that can be accessed by the logged in user that match the given table name.