Class DocumentOptions
Options for storing files and images.
public sealed class DocumentOptions
- Inheritance
-
DocumentOptions
- Inherited Members
Properties
DefaultGlobalAccess
Documents without an access rule have global access. Potentially useful to enable temporarily if you're adding document security to an existing project.
public bool DefaultGlobalAccess { get; set; }
Property Value
Remarks
Default value: false.
DisableDocumentSecurity
Disables document security and stops access rules from being created.
public bool DisableDocumentSecurity { get; set; }
Property Value
NewDocumentLeeway
When a user uploads a document for a new entity, for how long should access to that document be permitted without the entity being saved? The user still needs to know the document ID and entity ID.
public TimeSpan? NewDocumentLeeway { get; set; }
Property Value
Remarks
Default value: 10 minutes. WPF and Web controls will immediately download an image again to display it or manipulate it (thumbnails/rotation/mirroring) and we want to provide a small window for the user to make those adjustments without saving.