biuan SAP® BUSINESS ONE SDK
DTW Others / MultiLanguageTranslations
API User Menu Service / Get Current User Menu

Description

Get the UserMenuItems data collection that represents current user menu.

Syntax

Visual Basic
Public Function GetCurrentUserMenu() As UserMenuItems

Example

Get the current user menu
GetCurrentUserMenu (Visual Basic)
Dim oUserMenuItems As UserMenuItems Dim oUserMenuItem As UserMenuItem 'get Current User Menu oUserMenuItems = oUserMenuService.GetCurrentUserMenu() 'Get the first menu item oUserMenuItem = oUserMenuItems.Item(0) 'print the menu name Debug.WriteLine(oUserMenuItem.Name())

See Also

Related information


User Menu Params UserMenuParams Object· Table: CUMI
The UserMenuParams specifies the identification key (UserID) for which the UserMenuService is related. Source table: CUMI.
   Parent: User Menu Service UserMenuService Service· Table: CUMI

User Menu Service Data Interfaces UserMenuServiceDataInterfaces Enumeration
UserMenuService data interfaces.
   Parent: User Menu Service UserMenuService Service· Table: CUMI

User Menu Service UserMenuService Service· Table: CUMI
UserMenuService manages the user menu. Source table: CUMI. The service maintains a collection of user menus, each identified by a specific value of UserMenuParams. It enables the user to: Get current user menu definition. Get any user...



SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates