Sage 300 provides us the feature to disable the screen as per the user. There are some situations where we need a particular user should not have access to particular screen i.e. the user should not be able to access the screen because it is not permitted for that user. Programmatically it is very easy to be check by the Boolean value of the variable.
For the admin user it will allow to access all screen and make changes.
For the other user it restricts the user to access the screen.
Below is the Code snippet:
The value of constant variable “bUserIsAdmin” is set to True.
From this code we get to know the user is admin or not.
Greytrix – a globally recognized and one of the oldest Sage Development Partner is a one-stop solution provider for Sage ERP and Sage CRM organizational needs. Being acknowledged and rewarded for multi-man years of experience, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation competence.
Greytrix offers unique GUMU integrated solutions of Sage 300 with Sage CRM, Salesforce.com, Dynamics 365 CRM and Magento eCommerce along with Sage 300 Migration from Sage 50 US, Sage 50 CA, Sage PRO, QuickBooks, Sage Business Vision and Sage Business Works. We also offer best-in-class Sage 300 customization and development services and integration services for applications such as POS | WMS | Payroll | Shipping System | Business Intelligence | eCommerce for Sage 300 ERP and for Sage 300c development services we offer, upgrades of older codes and screens to new web screens, latest integrations using sData and web services to Sage business partners, end users and Sage PSG worldwide. Greytrix offers 20+ addons for Sage 300 to enhance productivity such as GreyMatrix, Document Attachment, Document Numbering, Auto-Bank Reconciliation, Purchase Approval System, Three way PO matching, Bill of Lading and VAT for Middle East. The GUMU integration for Dynamics 365 CRM – Sage ERP is listed on Microsoft Appsource with easy implementation package.
For more details on Sage 300 and Sage 300c Services, please
contact us at firstname.lastname@example.org,
We will like to hear from you.
The post How to identify if the user is admin in OCX using VB6.O appeared first on Sage 300 ERP – Tips, Tricks and Components.