Figure out if the object is allowed to be selected, updated, or deleted in current context

Namespace: Cartella.Interfaces
Assembly: CartellaData (in CartellaData.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
bool Allow(
	IBaseObject baseObject,
	AccessType accessType
)
Visual Basic
Function Allow ( _
	baseObject As IBaseObject, _
	accessType As AccessType _
) As Boolean
Visual C++
bool Allow(
	IBaseObject^ baseObject, 
	AccessType accessType
)

Parameters

baseObject
Type: Cartella.Interfaces..::..IBaseObject
The object to check permission for
accessType
Type: AccessType
The access type to check permission for (select, update, delete)

Field Value

Boolean

Return Value

True if allow access for the given access type

See Also