ActiveDirectoryService.SearchGroups Method

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

SearchGroups(PrincipalContext, String, Int32, Int32)

Returns a paged list of Role objects from Active Directory.

public static PagedList SearchGroups(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.Role}

A paged list of objects.