N
ngr
I have been directed to investigate WMI but have not touched this before and
I am getting bogged down trying to find out the information I require, so I
hope someone can assist me.
Could anyone give me details on WMI that I may find useful.
I need to be able to find out which user started a particular process.
I need to know what user is running an instance of an application.
Background:
I have an application which will run on a Citrix running Terminal Services.
Citrix and Terminal Services will allow each user to spawn applications they
have access just as if they were working locally.
In short this means that the users do not run a local copy of the program on
their PC, but run the program on the server - they only have a terminal to
the area on the server.
It's a bit like a UNIX box really, where there can be more than one user in
the system at any one time.
If two users are running the same program, then this is fine, but if one
user tries to open two sessions of the same program I have to trap this.
Bear in mind that this is NOT a program on different PCs. It is a server
that has workareas where several copies of the program are run by different
users.
If anyoune can direct me (VB.NET 2005) as how to retrieve user information
on a process I would be grateful.
Thanks in advance for any feedback
I am getting bogged down trying to find out the information I require, so I
hope someone can assist me.
Could anyone give me details on WMI that I may find useful.
I need to be able to find out which user started a particular process.
I need to know what user is running an instance of an application.
Background:
I have an application which will run on a Citrix running Terminal Services.
Citrix and Terminal Services will allow each user to spawn applications they
have access just as if they were working locally.
In short this means that the users do not run a local copy of the program on
their PC, but run the program on the server - they only have a terminal to
the area on the server.
It's a bit like a UNIX box really, where there can be more than one user in
the system at any one time.
If two users are running the same program, then this is fine, but if one
user tries to open two sessions of the same program I have to trap this.
Bear in mind that this is NOT a program on different PCs. It is a server
that has workareas where several copies of the program are run by different
users.
If anyoune can direct me (VB.NET 2005) as how to retrieve user information
on a process I would be grateful.
Thanks in advance for any feedback