MDAC 2.5 SDK - Technical Articles


 

ISecurityInfo

The ISecurityInfo interface provides information to the consumer about the security administration support given by the provider.

When to Implement

The provider will implement ISecurityInfo to expose general security information about the data source object. This interface is optional for all OLE DB providers but is required if the provider implements the IObjectAccessControl interface.

When to Use

When the data source object has been initialized, the consumer uses this interface to determine the current trustee, the available permissions, or the types of object that support permissions.

Method Description
GetCurrentTrustee Returns the current trustee.
GetObjectTypes Returns an array of object types that can be secured with access control entries.
GetPermissions Returns the available permissions for a given object type.