Click or drag to resize

DataObjectControllerCheckActiveUserPermissions Method (Int32, PermissionFlags, SqlConnection, SqlTransaction)

Note: This API is now obsolete.

Returns whether the active user has a specified set of permissions to the specified data object. The method inspects the DOSM and any Access Modifier that applies to the data object. 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#
[ObsoleteAttribute("Use non-static version - obsoleted in OIS 14")]
public static bool CheckActiveUserPermissions(
	int dataObjectId,
	PermissionFlags permissions,
	SqlConnection dbConnection,
	SqlTransaction dbTransaction
)

Parameters

dataObjectId
Type: SystemInt32
permissions
Type: Omada.OE.ModelPermissionFlags
dbConnection
Type: System.Data.SqlClientSqlConnection
dbTransaction
Type: System.Data.SqlClientSqlTransaction

Return Value

Type: Boolean
See Also