Hello,
I'm writing an inline script in an event and I want to have the get the user id who initiates the event.
Can you share the piece of code that do this in an inline script.
Thanks
I think USERNAME() works for this.
i tried this piece of code : if username() = "xxxxx" then
but it return error that username is not declared
I've tried the following and it works perfectly, Thank you.
I've tried the followig :
Create form component 'UserEdit' and bind it to variable 'User' with initial value 'USERNAME()' Get the value on form script by 'ThisForm.Variables(“User”).Value' This will return the UserID who login to Syteline
it's working perfectly, thanks.