in order to perform such an easy task, get the user id, you can use the MonoX existing functionality.
Guid currentUserId = SecurityUtility.GetUserId();
There are two options while developing site using MonoX.
1. You can download MonoX from our site and extend/add additional functionality. This is a good approach if you do not need to amend the existing MonoX functionality. This approach requires you to buy MonoX licence which will remove "Powered by MonoX" label.
2. Buy a source code edition where you get MonoX source code. This approach allows you to view how the things are implemented and also gives you greater flexibility in the extension manner.
Please note that changes to the existing functionality are also possible by using the first approach(an example can be found here
), but in large projects it's better to have source code edition,