Click or drag to resize

IAclHierarchyItemGetAclRestrictions Method

IT Hit WebDAV Classes Reference
Defines the types of ACLs supported by this server, to avoid clients needlessly getting errors. When a client tries to set an ACL via the ACL method, the server may reject the attempt to set the ACL as specified.

Namespace: ITHit.WebDAV.Server.Acl
Assembly: ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 4.5.3121.0
Syntax
AclRestriction GetAclRestrictions()

Return Value

Type: AclRestriction
Instance of AclRestriction.
Exceptions
ExceptionCondition
NeedPrivilegesExceptionNot enough permissions.
DavExceptionIn case of other errors.
Examples

The code below is part of 'WebDAVServer.NtfsNtlmAcl' sample provided with the SDK.

public AclRestriction GetAclRestrictions()
{
    return new AclRestriction { NoInvert = true };
}
See Also