Click or drag to resize

IPrincipalFolderFindPrincipalsByPropertyValuesAsync 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 (Name), which is defined on all principals.

Namespace:  ITHit.WebDAV.Server.Acl
Assembly:  ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 13.3.13068
Syntax
Task<IEnumerable<IPrincipal>> 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: TaskIEnumerableIPrincipal
.
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