web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :

Exploring the current session user Id in AX 2012

Ali Zaidi Profile Picture Ali Zaidi 4,657

You can get current session log in id in AX 2012 by this method

 

str curUserId()

 

 

Complete example is as follow.

static void curUserInfo(Args _arg)
{
    str sUserId;
    ;
    sUserId = curUserId();
    info "Current user ID is " + sUserId;

}

 

Comments

*This post is locked for comments