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.AclAssembly: ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 4.5.3121.0
Syntax IEnumerable<IAclHierarchyItem> GetItemsByProperty(
MatchBy matchBy,
IList<PropertyName> props
)
Function GetItemsByProperty (
matchBy As MatchBy,
props As IList(Of PropertyName)
) As IEnumerable(Of IAclHierarchyItem)
IEnumerable<IAclHierarchyItem^>^ GetItemsByProperty(
MatchBy matchBy,
IList<PropertyName>^ props
)
abstract GetItemsByProperty :
matchBy : MatchBy *
props : IList<PropertyName> -> IEnumerable<IAclHierarchyItem>
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:
IEnumerableIAclHierarchyItemList 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