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: 9.1.5460-Beta
Task<IEnumerable<IPrincipalAsync>> FindPrincipalsByPropertyValuesAsync(
	IList<PropertyValue> propValuesToSearch,
	IList<PropertyName> propsToReturn


Type: System.Collections.GenericIListPropertyValue
Properties with values to search for.
Type: System.Collections.GenericIListPropertyName
Properties to return for each item found.

Return Value

Type: TaskIEnumerableIPrincipalAsync
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