In Sage X3, there exist some standard global variables which provide information regarding current functional processing. For eg., current function, current user, a name of current user etc.
The global variable GUSER provides a code of a user which is currently logged into Sage X3 applications.
You can easily use this global variable into your code file. You can use this variable to save data into a table or any repository.
Refer below screenshot. Here, a calculator is used to knowing the use of GUSER.
You can see in Result, we got a value as ADMIN which means, the current user is ADMIN.
Hope this helps!
Greytrix is a one-stop solution provider for Sage ERP and Sage CRM needs. We provide complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third-party add-on development and implementation expertise.
Greytrix has some unique solutions of Sage X3 integration with Sage CRM, Salesforce.com, and Magento eCommerce along with Sage X3 migration from Sage 50 US, Sage Pro, and QuickBooks. We also offer best-in-class Sage X3 customization and development services to Sage business partners, end users, and Sage PSG worldwide.
For more information on Sage X3 Integration and Services, please contact us at firstname.lastname@example.org. We will be glad to assist you.