ActiveDirectoryService.SearchUsers Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

SearchUsers(PrincipalContext, String, Int32, Int32)

Returns a paged list of User objects from Active Directory.

public static PagedList SearchUsers(PrincipalContext context, string name, int top = 25, int skip = 0)

Parameters

context
System.DirectoryServices.AccountManagement.PrincipalContext
name
System.String
top
System.Int32
skip
System.Int32

Returns

Weavy.Core.Collections.PagedList{Weavy.Core.Models.User}

A paged list of objects.