IEntity.CheckAccess Method

Gets the access rights of the given external item identities for the given LobSystem instance.

Namespace:  Microsoft.BusinessData.MetadataModel
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Function CheckAccess ( _
    instanceIdentities As Identity(), _
    lobSystemInstance As ILobSystemInstance _
) As Long()
'Usage
Dim instance As IEntity
Dim instanceIdentities As Identity()
Dim lobSystemInstance As ILobSystemInstance
Dim returnValue As Long()

returnValue = instance.CheckAccess(instanceIdentities, _
    lobSystemInstance)
long[] CheckAccess(
    Identity[] instanceIdentities,
    ILobSystemInstance lobSystemInstance
)

Parameters

  • instanceIdentities
    Type: []

    The instance identities.

Return Value

Type: []
A long number representing access rights.

Remarks

Instances of objects in the Business Data Connectivity object model are tied to the Metadata Store they are obtained from. Using instances tied to one Metadata Store with the instances from another Metadata Store will cause data corruption and other unexpected behavior. For more information, see DatabaseBackedMetadataCatalog, FileBackedMetadataCatalog, and RemoteSharedFileBackedMetadataCatalog.

See Also

Reference

IEntity Interface

IEntity Members

Microsoft.BusinessData.MetadataModel Namespace