Developers » API methods » Account » account.setNameInMenu
Sets an application screen name (up to 17 characters), that is shown to the user in the left menu.
This happens only in case the user added such application in the left menu from application page, from list of applications and settings.
This method can be called with a user token.
user_idUser ID.
positive number, current user id is used by default, required parameter
nameApplication screen name.
Returns 1 if a screen name is successfully set.

If user did not add the application into the left menu, the method would throw an error 148 (Access to the menu of the user denied). This error can be avoided with account.getAppPermissions method.

148Access to the menu of the user denied
Global errors can occur while running. See their descriptions on this page.