Click or drag to resize

PrivilegeUnlock Field

IT Hit WebDAV Classes Reference
Controls the use of the UnlockAsync(String) method by a principal other than the lock owner (the principal that created a lock can always perform an UnlockAsync(String)).

Namespace:  ITHit.WebDAV.Server.Acl
Assembly:  ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 13.3.13068
Syntax
public static readonly Privilege Unlock

Field Value

Type: Privilege
Remarks
While the set of users who may lock a resource is most commonly the same set of users who may modify a resource, servers may allow various kinds of administrators to unlock resources locked by others. Any privilege controlling access by non-lock owners to UnlockAsync(String) must be aggregated under Unlock. A lock owner can always remove a lock by issuing an UnlockAsync(String) with the correct lock token and authentication credentials. That is, even if a principal does not have Unlock privilege, they can still remove locks they own. Principals other than the lock owner can remove a lock only if they have Unlock privilege and they issue an UnlockAsync(String) with the correct lock token. Lock timeout is not affected by the Unlock privilege.
See Also