Open enerik opened 6 years ago
@enerik Hope this will help.
OUser user = OUser.current(this);
user.getUserId();
user.getName();
user.getPartnerId();
Thanks
@enerik
You can close the issue if @dp-2910's answer solves your issue.
OUser user = OUser.current(this);
user.getUserId();
user.getName();
user.getPartnerId();
Hello everyone ,
I am trying to get the current active user Id . In the documentation i see that there is a function wich it is used to get current active user . Can some explain how to use it .
Syntax:
OUser user()
Used to get current active user object. It is easy when you want to do some operation with current user.
user().getName(); user().getPartner_id(); user().getUser_id();
Looking forward to your response .