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
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
HoursToUpdate
[AddInParameterGroup("User Index Builder Settings")]
[AddInParameter("HoursToUpdate")]
[AddInLabel("Hours to update")]
[AddInParameterEditor(typeof(NumberParameterEditor), "")]
public int HoursToUpdate { get; set; }
Property Value
Resume
Gets or sets a value indicating the index opened in insert mode
public bool Resume { get; set; }
Property Value
SupportedActions
Gets the supported actions
public override IEnumerable<string> SupportedActions { get; }
Property Value
UserIds
Gets or sets a list of user ids, which will be updated in the index
public IEnumerable<int> UserIds { get; set; }
Property Value
Methods
Build(IIndexWriter, Tracker)
Build the index
public override void Build(IIndexWriter writer, Tracker tracker)
Parameters
writer
IIndexWriterAn IIndexWriter instance
tracker
TrackerA Tracker instance
GetFields()
Defines GetFields required operation
public override IEnumerable<FieldDefinitionBase> GetFields()