Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserSettingsFactory

    Factory for creating UserSettingsModel instances containing user-related settings for installation.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Factories
    Assembly: Umbraco.Core.dll
    Syntax
    public class UserSettingsFactory : IUserSettingsFactory

    Constructors

    View Source

    UserSettingsFactory(IOptions<UserPasswordConfigurationSettings>, ILocalizedTextService)

    Initializes a new instance of the UserSettingsFactory class.

    Declaration
    public UserSettingsFactory(IOptions<UserPasswordConfigurationSettings> securitySettings, ILocalizedTextService localizedTextService)
    Parameters
    Type Name Description
    IOptions<UserPasswordConfigurationSettings> securitySettings

    The user password configuration settings.

    ILocalizedTextService localizedTextService

    The localized text service for retrieving localized descriptions.

    Methods

    View Source

    GetUserSettings()

    Gets the user settings model containing password settings and consent levels.

    Declaration
    public UserSettingsModel GetUserSettings()
    Returns
    Type Description
    UserSettingsModel

    A UserSettingsModel containing user-related settings.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX