Re: [development-axapta] How to know the user has access to purchase order using code

2010-07-16 Thread somanna gl
This may help U. if (hasSecurityKeyAccess(securitykeyNum(mySecurityKey), AccessType::View)) { //code requiring authorization goes here... } if (hasMenuItemAccess(menuItemDisplayStr(myMenuItem), MenuItemType::Display))) { //code requiring authorization goes here... } DictTable dictTable = new

[development-axapta] How to know the user has access to purchase order using code

2010-07-09 Thread srinath s
Hi champs, In order to restrict the user to use the purchase order I am giving no access permission to the user that belongs to the user group say “xyz”. Will select the user group xyz in the user group form and will go to the permission tab and select the security key in the drop down of the