UserInfoGetFormattedUserName Method |
Returns formatted username in format: full name (nickname) if nickname specified otherwise full name (username).
Allows you to customize how the usernames will look like throughout the admin UI.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax public string GetFormattedUserName(
bool isLiveSite
)
Parameters
- isLiveSite
- Type: SystemBoolean
Indicates if returned username should be displayed on live site
Return Value
Type:
StringSee Also