Click or drag to resize

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
)

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
ExceptionCondition
NeedPrivilegesExceptionNot enough permissions.
DavExceptionIn case of other errors. If there are too many items server may return this exception with status PRECONDITION_FAILED and description NUMBER_OF_MATCHES_WITHIN_LIMITS
See Also