Click or drag to resize

IAclHierarchyItemGetItemsByProperty Method

IT Hit WebDAV Classes Reference
Find all resources in the subtree which have either Group or Owner (defined by matchBy parameter) which identifies current user or group current user belongs to. For example, this report can return all of the resources in a collection hierarchy that are owned by the current user.

Namespace: ITHit.WebDAV.Server.Acl
Assembly: ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 4.5.3121.0
Syntax
IEnumerable<IAclHierarchyItem> GetItemsByProperty(
	MatchBy matchBy,
	IList<PropertyName> props
)

Parameters

matchBy
Type: ITHit.WebDAV.Server.AclMatchBy
Identifies whether to search by owner or group.
props
Type: System.Collections.GenericIListPropertyName
Properties requested for found items.

Return Value

Type: IEnumerableIAclHierarchyItem
List of matching resources, each implementing IAclHierarchyItem.
Examples

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

public virtual IEnumerable<IAclHierarchyItem> GetItemsByProperty(MatchBy matchBy, IList<PropertyName> props)
{
    return new List<IAclHierarchyItem>();
}
See Also