CommonDatabaseFunctionsHasRecordAccess Method

Scanjour Workflow4 Reference Manual
Determines whether the current user has access to update a specific record entity.

Namespace:  Scanjour.Workflow4.Base
Assembly:  Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 19.0.1.0 (19.0.1.0)
Syntax

public static bool HasRecordAccess(
	Uri oDataUri,
	string recordKey,
	SecurityContext securityContext = SecurityContext.User
)

Parameters

oDataUri
Type: SystemUri
Provides access to query the database.
recordKey
Type: SystemString
The key to the record entity.
securityContext (Optional)
Type: Scanjour.Workflow4.BaseSecurityContext
The security context in which the record shall be accessed.

Return Value

Type: Boolean
True, if the current user can update the record; otherwise false.
See Also

Reference