• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Interface IPersonaBarController

Interface responsible to manage the PersonaBar structure by User's Roles and Sku.

Namespace: Dnn.PersonaBar.Library.Controllers
Assembly: Dnn.PersonaBar.Library.dll
Syntax
public interface IPersonaBarController

Methods

| Improve this Doc View Source

GetMenu(PortalSettings, UserInfo)

Gets the menu structure of the persona bar.

Declaration
PersonaBarMenu GetMenu(PortalSettings portalSettings, UserInfo userInfo)
Parameters
Type Name Description
PortalSettings portalSettings

The portal settings.

UserInfo userInfo

the user that will be used to filter the menu.

Returns
Type Description
PersonaBarMenu

Persona bar menu structure for the user.

| Improve this Doc View Source

IsVisible(PortalSettings, UserInfo, MenuItem)

Whether the menu item is visible.

Declaration
bool IsVisible(PortalSettings portalSettings, UserInfo user, MenuItem menuItem)
Parameters
Type Name Description
PortalSettings portalSettings

Portal Settings.

UserInfo user

User Info.

MenuItem menuItem

The menu item.

Returns
Type Description
System.Boolean

true if the menu item is visible, otherwise false.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS