curUserId Function [AX 2012]

Updated: December 10, 2009

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Retrieves the nonnumeric ID that represents the current user.


str curUserId()

The nonnumeric ID that represents the current user.

static void curUserIdExample(Args _arg)
{
    str s;
    ;
    s = curUserId();
    print "Current user ID is " + s;
    pause;
}

Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).

Community Additions

ADD
Show: