This project has moved. For the latest updates, please go here.

FIM Service Client Custom Paging

Sep 18, 2015 at 1:05 PM
Hello,

I wonder if there is support for custom paging similar to predicas solution?

something like:
public DataPage<TResource> EnumeratePage<TResource>(string query, Pagination pagination, SortingInstructions sorting, AttributesToFetch attributes = null) where TResource : RmResource;

client.EnumeratePage<RmPerson>(filter, Pagination.FromRowIndex(e.NewPageIndex * userPageSize, userPageSize), SortingInstructions.None, new AttributesToFetch(af));

where

var af = new AttributesToFetch(RmResource.AttributeNames.DisplayName.Name, RmPerson.AttributeNames.AccountName.Name, RmResource.AttributeNames.ObjectID.Name).GetNames();


Have a good day
Alex