Tuesday, 17 July 2012

How to display a welcome message when the user login into AX


Hello Friends,


Today i want to share you a small and funny thing.i.e:

"How to display a welcome message when the user login into AX "

Just do this
go to classes >> StartUpPost method and paste the below code into code editor:

void startupPost()
{
    UserInfo UserInfo;
    select Name from UserInfo where UserInfo.id==curUserId();
    info('Welcome to '+UserInfo.name);
}
Then to check this close your ax and open again you will get the info message with your name.

5 comments:

  1. Replies
    1. Hi Rama,

      you can refer my blog for original post,the link mentioned in below comment.

      Delete
  2. This is copied from my blog.

    http://dynamicsaxsol.blogspot.in/2012/02/today-i-want-to-share-with-you-how-to.html

    ReplyDelete
  3. I cannot thank Mr Benjamin service enough and letting people know how grateful I am for all the assistance that you and your team staff have provided and I look forward to recommending friends and family should they need financial advice or assistance @ 1,9% Rate for Business Loan .Via Contact : .  lfdsloans@outlook.com. WhatsApp...+ 19893943740. Keep up the great work.
    Thanks, Busarakham.

    ReplyDelete