nn::cfg::CTR::UserName Structure

Syntax

struct UserName
{
   wchar_t userName[CFG_USER_NAME_LENGTH];
   bool isNgUserName;
};

Description

Structure that represents the user name.

User names obtained from the nn::cfg::CTR::GetUserName function are guaranteed to be NULL terminated.

The isNgUserName member variable stores the result of checking the user name from System Settings. The name is checked in Japanese for the Japanese region, in U.S. English and the system language for the North American region, and in U.K. English and the system language for the European region.

Member Variables

userName wchar_t The user name.
isNgUserName bool Indicates whether the user name contains profanity. This has a value of true when the string contains profanity.

Revision History

2011/10/11
Added a description of how the user name is checked for profanity.
2010/05/27
Initial version.

CONFIDENTIAL