IAccessControlList.AccessCheck Method
Determines whether the current client context has the specified permissions in the BDC.
Namespace: Microsoft.BusinessData.Infrastructure
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function AccessCheck ( _
rightsMask As BdcRights _
) As Boolean
'Usage
Dim instance As IAccessControlList
Dim rightsMask As BdcRights
Dim returnValue As Boolean
returnValue = instance.AccessCheck(rightsMask)
bool AccessCheck(
BdcRights rightsMask
)
Parameters
rightsMask
Type: Microsoft.BusinessData.Infrastructure.BdcRightsThe permissions for which to check access.
Return Value
Type: System.Boolean
true if the client context has all of the specified permissions; otherwise, false.