Class PersonaBarUserSettingsController
Inheritance
System.Object
PersonaBarUserSettingsController
Implements
Inherited Members
Namespace: Dnn.PersonaBar.Library.Controllers
Assembly: Dnn.PersonaBar.Library.dll
Syntax
public class PersonaBarUserSettingsController : ServiceLocator<IPersonaBarUserSettingsController, PersonaBarUserSettingsController>, IPersonaBarUserSettingsController
Methods
| Improve this Doc View SourceGetFactory()
Gets the service locator factory.
Declaration
protected override Func<IPersonaBarUserSettingsController> GetFactory()
Returns
| Type | Description |
|---|---|
| Func<IPersonaBarUserSettingsController> | A factory function. |
Overrides
DotNetNuke.Framework.ServiceLocator<Dnn.PersonaBar.Library.Controllers.IPersonaBarUserSettingsController, Dnn.PersonaBar.Library.Controllers.PersonaBarUserSettingsController>.GetFactory()
|
Improve this Doc
View Source
GetPersonaBarUserSettings()
Gets the PersonaBar user settings.
Declaration
public UserSettings GetPersonaBarUserSettings()
Returns
| Type | Description |
|---|---|
| UserSettings | A UserSettings instance representing the user's settings or the default. |
UpdatePersonaBarUserSettings(UserSettings, Int32, Int32)
Updates the PersonaBar user settings.
Declaration
public void UpdatePersonaBarUserSettings(UserSettings settings, int userId, int portalId)
Parameters
| Type | Name | Description |
|---|---|---|
| UserSettings | settings | |
| System.Int32 | userId | |
| System.Int32 | portalId |