Table of Contents

Class UserIndexBuilder

Namespace
Dynamicweb.Security.UserManagement.Indexing
Assembly
Dynamicweb.Core.dll

The class UserIndexBuilder represents index builder for users

[AddInName("User Index Builder")]
public class UserIndexBuilder : IndexBuilderBase, IIndexBuilder, IResumable
Inheritance
UserIndexBuilder
Implements
Inherited Members

Properties

DefaultSettings

Gets default settings collection

public override IDictionary<string, object> DefaultSettings { get; }

Property Value

IDictionary<string, object>

DoNotFailOnMismatchingCount

[AddInParameterGroup("User Index Builder Settings")]
[AddInParameter("DoNotFailOnMismatchingCount")]
[AddInLabel("Do not fail on mismatching user count")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "Explanation=Prevents index failure if a user has been created or deleted while the index was being built;")]
public bool DoNotFailOnMismatchingCount { get; set; }

Property Value

bool

HoursToUpdate

[AddInParameterGroup("User Index Builder Settings")]
[AddInParameter("HoursToUpdate")]
[AddInLabel("Hours to update")]
[AddInParameterEditor(typeof(NumberParameterEditor), "")]
public int HoursToUpdate { get; set; }

Property Value

int

Resume

Gets or sets a value indicating the index opened in insert mode

public bool Resume { get; set; }

Property Value

bool

SupportedActions

Gets the supported actions

public override IEnumerable<string> SupportedActions { get; }

Property Value

IEnumerable<string>

UserIds

Gets or sets a list of user ids, which will be updated in the index

public IEnumerable<int> UserIds { get; set; }

Property Value

IEnumerable<int>

Methods

Build(IIndexWriter, Tracker)

Build the index

public override void Build(IIndexWriter writer, Tracker tracker)

Parameters

writer IIndexWriter

An IIndexWriter instance

tracker Tracker

A Tracker instance

GetFields()

Defines GetFields required operation

public override IEnumerable<FieldDefinitionBase> GetFields()

Returns

IEnumerable<FieldDefinitionBase>
To top