CommonDatabaseFunctionsHasRegisterAccess Method

Scanjour Workflow4 Reference Manual
Determines whether the current user has access to update the specified entity in the specified register.

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

public static bool HasRegisterAccess(
	Uri oDataUri,
	string register,
	string key,
	SecurityContext securityContext = SecurityContext.User
)

Parameters

oDataUri
Type: SystemUri
Provides access to query the database.
register
Type: SystemString
The register in which the entity is located. Now RECORD and FILE are the only supported registers.
key
Type: SystemString
Key to the entity.
securityContext (Optional)
Type: Scanjour.Workflow4.BaseSecurityContext
The security context in which the register shall be accessed.

Return Value

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

Reference