IPrincipalFolderAsyncFindPrincipalsByPropertyValuesAsync Method
IT Hit WebDAV Classes Reference
Performs a search for all principals in this folder whose properties contain
character data that matches the search criteria specified.
One expected use of this method is to
discover principals by searching for them by name. This is
done by searching over
DISPLAYNAME (
[!:IHierarchyItemAsync.Name]),
which is defined on all principals.
Namespace:
ITHit.WebDAV.Server.Acl
Assembly:
ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 11.3.10719
Syntax Task<IEnumerable<IPrincipalAsync>> FindPrincipalsByPropertyValuesAsync(
IList<PropertyValue> propValuesToSearch,
IList<PropertyName> propsToReturn
)
Task<IEnumerable<IPrincipalAsync>> FindPrincipalsByPropertyValuesAsync(
IList<PropertyValue> propValuesToSearch,
IList<PropertyName> propsToReturn
)
Function FindPrincipalsByPropertyValuesAsync (
propValuesToSearch As IList(Of PropertyValue),
propsToReturn As IList(Of PropertyName)
) As Task(Of IEnumerable(Of IPrincipalAsync))
Function FindPrincipalsByPropertyValuesAsync (
propValuesToSearch As IList(Of PropertyValue),
propsToReturn As IList(Of PropertyName)
) As Task(Of IEnumerable(Of IPrincipalAsync))
Task<IEnumerable<IPrincipalAsync^>^>^ FindPrincipalsByPropertyValuesAsync(
IList<PropertyValue^>^ propValuesToSearch,
IList<PropertyName>^ propsToReturn
)
Task<IEnumerable<IPrincipalAsync^>^>^ FindPrincipalsByPropertyValuesAsync(
IList<PropertyValue^>^ propValuesToSearch,
IList<PropertyName>^ propsToReturn
)
abstract FindPrincipalsByPropertyValuesAsync :
propValuesToSearch : IList<PropertyValue> *
propsToReturn : IList<PropertyName> -> Task<IEnumerable<IPrincipalAsync>>
abstract FindPrincipalsByPropertyValuesAsync :
propValuesToSearch : IList<PropertyValue> *
propsToReturn : IList<PropertyName> -> Task<IEnumerable<IPrincipalAsync>>
Parameters
- propValuesToSearch
- Type: System.Collections.GenericIListPropertyValue
Properties with values to search for. - propsToReturn
- Type: System.Collections.GenericIListPropertyName
Properties to return for each item found.
Return Value
Type:
TaskIEnumerableIPrincipalAsync
.
Exceptions See Also