Wednesday, 1 March 2017

Get Current User and User Name in AX

Static Name getCurUsername()
{
    return XUserInfo::find(false, curUserId()).name;
}

No comments:

Post a Comment

Adding a newline into a string in C# and X++

Below is the sample code we can use for  adding a newline after every occurrence of "@" symbol in the string in C#   using System...