Hi Mike, What I'm aiming to do is the ability to modify the initial-program configuration setting (from https://guacamole.apache.org/doc/gug/configuring-guacamole.html#session-settings) when a particular user is signed-in through the web interface.
The configuration option change shouldn't modify the saved value, but the connection should proceed with the modified initial-program configuration value for the session only. Ideally, we would like to be able to do this using Javascript (through guacamole-common-js), but I wasn't clear on how the UserContext object can be accessed through it. Regards, On Tue, Nov 14, 2023 at 5:36 PM Michael Jumper <[email protected]> wrote: > On 11/13/2023 7:55 PM, Mackie Gippets wrote: > > Hi, > > > > I would like to be able to access the connection object (using > > Javascript) when a user is signed in from the guacamole-client web > > interface. > > > > When the connection object is obtained, I would like to be able to > > modify the value in the initial-program configuration option (the > > connection type in this context is RDP) and continue connecting using > > the modified value without changing the stored configuration value > > (non-persistent). > > > > The guacamole-ext documentation suggests that this can be achieved > > through the UserContext object. However, there is very limited > > documentation on how this object should be used in practice. A search on > > Stack Overflow also doesn't return any examples of how to use this > object. > > > > Can you describe what you're looking to achieve at a high level? > > - Mike > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
