This post is machine-translated. The original post in german language can be found here.
These post applies to following version:
Dynamics AX 2012
Dynamics AX 2012
thank you |
|
|
|
|
|
|
This post is machine-translated. The original post in german language can be found here.
These post applies to following version:
Dynamics AX 2012
|
If you need to check the access rights of the current user for a MenuItem, the following snippet can give you an example.
{
AccessRight accessRight = AccessRight::NoAccess;
accessRight = SecurityRights::construct().menuItemAccessRight(SecurableType::MenuItemDisplay, menuitemDisplayStr(CustGroup));
info(strFmt("%1", accessRight));
}