Original Post link below.
Ege responded
If this is for backup purposes, a more elegant method could be to lock the repository and set the Everyone group to read-only using a Laserfiche SDK script. Of course, this method would be possible only if you have the SDK.
I set out to do this and I am being explicitly told by the compiler that I can not set ReadOnlyAccess equal to "true" for Domain Users.
The exact statement is
"Operation or command invalid for the requested type of object [ILFDomainAccount]"
It does support setting ReadOnlyAccess equal to "true" for an ILFTrustee object.
If Everyone is not a Trustee how is it possible to set Everyone to read only using the SDK?
Entire Code
ILFDomainAccount everyone = db.LookupDomainAccount("EVERYONE"); everyone.ReadOnlyAccess = true; everyone.Update();
https://answers.laserfiche.com/questions/49996/Backup--script-to-take-repository-offline