Determines whether the current user has access to update a specific file entity.
Namespace: Scanjour.Workflow4.Base
Assembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 21.3.0.0 (21.3.0.0)
Syntax
public static bool HasFileAccess( Uri oDataUri, string fileKey, SecurityContext securityContext = SecurityContext.User )
Parameters
- oDataUri
- Type: SystemUri
Provides access to query the database. - fileKey
- Type: SystemString
The key to the file entity. - securityContext (Optional)
- Type: Scanjour.Workflow4.BaseSecurityContext
The security context in which the file shall be accessed.
Return Value
Type: BooleanTrue, if the current user can update the file; otherwise false.
See Also