[QUOTE=me_hungry;106816]You can get a list of sessions using PML command from C#:
then compare current host name and info from last part of ![COLOR=#0000cd]asesSessions[/COLOR],
and expunge user by value of ![COLOR=#0000cd]asesSessions[/COLOR]:
And of course, run all this in Admin module...
[COLOR=#daa520](Don't forget to hide all passwords and other stuff) [/COLOR]
I am not clear on how to get PML variable back into C#. I know how to run a command but how do you bring the result into the C# code?
[QUOTE=me_hungry;106816]You can get a list of sessions using PML command from C#:
then compare current host name and info from last part of ![COLOR=#0000cd]asesSessions[/COLOR],
and expunge user by value of ![COLOR=#0000cd]asesSessions[/COLOR]:
And of course, run all this in Admin module...
[COLOR=#daa520](Don't forget to hide all passwords and other stuff) [/COLOR]
I am not clear on how to get PML variable back into C#. I know how to run a command but how do you bring the result into the C# code?