Skip to content

MyAccountLink class

namespace: Serenity.Extensions   assembly: Serenity.Extensions

A link of the my account page, to a page where the user manages something of the account, e.g. the password or the two-factor authentication, which an IMyAccountLinkProvider gives.

public class MyAccountLink

Public Members

name description
MyAccountLink() The default constructor.
Description { get; set; } What it is for, localized.
Icon { get; set; } The icon class, e.g. "fa fa-key".
Key { get; set; } A key, e.g. "Password", to find it, e.g. in a test or the styles.
Order { get; set; } The order among the others, the lowest first.
State { get; set; } The state, which the badge shows, see StateText.
StateText { get; set; } The text of the badge, localized, e.g. "On".
Title { get; set; } The title, localized.
Url { get; set; } The address of the page, e.g. "~/Account/ChangePassword".

See Also