SQLServer.Database.DBObject Object
Returns a list of Permission objects containing the object privileges for this object.
PermissionList = DBObject.ListPermissions ( [[PrivilegeTypes :=] tPrivileges] )
HRESULT pDBObject->ListPermissions (
LPSQLOLEPERMISSIONLIST* ppPermissionList ,
SQLOLE_PRIVILEGE_TYPE tPrivileges = SQLOLEPriv_AllObjectPrivs );
Element | Type | Description |
---|
PermissionList | PermissionList | Returned list of Permission objects |
tPrivileges | SQLOLE_PRIVILEGE_TYPE | Types of object privileges to list |
sp_helpprotect