Click or drag to resize

CommonDatabaseFunctionsHasRecordAccess Method

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: 24.5.0.0 (24.5.0.0)
Syntax
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