I want to show a user name automatically for every person that uses my model, for example when Jim opens he aimms project, I want the model to detect it’s Jim and save it in parameter and show it in page my question is how can we detect user infos when the model is opened ? Thank you
Best answer by Marcel HuntingView original
@vixingit. On Windows you can use the procedure EnvironmentGetString with the key ‘USERNAME’ to retrieve the user name.
Thank you for the reply.
I don’t understand what should I put exactly in the body of the procedure, can you please give me more details please ?
You can use
where ‘str’ is a string parameter in which the user name will be returned.