10-10-2019 08:56 AM
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 ??
10-10-2019 10:04 AM
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.
10-10-2019 11:02 AM
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.
10-10-2019 11:56 PM
Thank you ! But how can I add privilegies other way than using TS User Manager?