IEntity.GetSecurityDescriptor Method
Gets the security descriptor of the external item with the given identity from the the given external system instance.
Namespace: Microsoft.BusinessData.MetadataModel
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function GetSecurityDescriptor ( _
id As Identity, _
lsi As ILobSystemInstance _
) As Byte()
'Usage
Dim instance As IEntity
Dim id As Identity
Dim lsi As ILobSystemInstance
Dim returnValue As Byte()
returnValue = instance.GetSecurityDescriptor(id, _
lsi)
byte[] GetSecurityDescriptor(
Identity id,
ILobSystemInstance lsi
)
Parameters
id
Type: Microsoft.BusinessData.Runtime.IdentityThe identity of the external item.
lsi
Type: Microsoft.BusinessData.MetadataModel.ILobSystemInstanceThe external system instance.
Return Value
Type: []
The security descriptor.
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.