I want to Login into TS with Message Popup. I tried to overwrite FrontEndCalback.seq like this:
But TS return an error:
What is wrong ??
You are setting a user object equal to a string. That doesn't make sense.
You need to acquire the user from the Users.ini file or create a new user and assign it to CurrentUser.
I got thinking about it and here is some code to help you out.
Create a Local variable that is an Object Reference. Then the following will log in your user:
Locals.NewUser = RunState.Engine.NewUser(Nothing),
Locals.NewUser.AsUser.FullName = RunState.PreviousStep.Result.Response,
RunState.Engine.CurrentUser = Locals.NewUser
If you want the user to do anything you'll have to add their privileges.