CommonDatabaseFunctionsHasRecordAccess Method

Determines whether the current user has access to update a specific record entity.

Definition

Namespace: Scanjour.Workflow4.Base
Assembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.4.0.0 (24.4.0.0)
C#
public static bool HasRecordAccess(
	Uri oDataUri,
	string recordKey,
	SecurityContext securityContext = SecurityContext.User
)

Parameters

oDataUri  Uri
Provides access to query the database.
recordKey  String
The key to the record entity.
securityContext  SecurityContext  (Optional)
The security context in which the record shall be accessed.

Return Value

Boolean
True, if the current user can update the record; otherwise false.

See Also