Hello ,
i ran this line of script to get my userman users’s username, but it will show null in log! if i switch username attribute to comment it’ll work like a charm 
do you have any idea of why this happening ?
:log info [tool user-manager user get 1 username]
-
USE FULL SYNTAX
-
you can not use number obtained by “print” command on one script.
-
the value you want is name, not username
replace “1” with your wanted value.
the first user has index 0, second 1 etc.
:log info message=[/tool user-manager user get ([/tool user-manager user find] -> 1) value-name=name];