Permission Object (SQL-DMO)

The Permission object exposes Microsoft® SQL Server™ object-access rights.

Remarks

The Permission object is contained within SQL-DMO list objects and is used solely for reporting object-access rights. For example, the Table object has Permissions and UserPermissions lists reporting the access rights to a specific SQL Server table. Membership in these object lists is affected by granting, revoking, or denying object-specific access rights to SQL Server users and database roles. You can use the containing object’s Grant, Revoke, and Deny methods to control SQL Server access rights and affect list membership.

All properties of the Permission object are read-only.

Methods

ListPrivilegeColumns Method

Properties
Granted Property ObjectType Property
Grantee Property ObjectTypeName Property
ObjectID Property PrivilegeType Property
ObjectName Property PrivilegeTypeName Property
ObjectOwner Property  

See Also
Database Object StoredProcedure Object
ListPermissions Method Table Object
ListUserPermissions Method View Object

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.