Click or drag to resize

DataObjectControllerCheckActiveUserPermissions Method (Int32, PermissionFlags)

Returns whether the active user has a specified set of permissions to a number of specified data objects. The method only returns true if the active user has the specified set of permissions to ALL of the specified data objects. The method inspects the DOSM and any Access Modifier that applies to the data objects. If the active user is the SYSTEM user the method always returns true. Also, if the method is executed inside a SecurityOverrideContext it returns true. The active user's auth level is considered.

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public bool CheckActiveUserPermissions(
	int dataObjectId,
	PermissionFlags permissions
)

Parameters

dataObjectId
Type: SystemInt32
permissions
Type: Omada.OE.ModelPermissionFlags

Return Value

Type: Boolean
See Also