Hi!
I want to identify the User in C/AL. I am fine with the windows name or with the login name the user would enter (database login). I tried:
User := USERID;
MESSAGE(Text000, User);
But I only get "< >". How can I find out the current user?
Regards
chinagiant
0
Comments
Does Text000 contain a placeholder, %1 ,for example? If you add to your text string the %1 it will be replaced by User.
The above command will display the contents of Text000.
Do it like this:
Text000 := 'User is: %1';
MESSAGE(Text000, User);
viewtopic.php?t=28010
viewtopic.php?t=26865
Regards