wmi help required please

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
 
X

xla76

I don't understand why you would need to do this, Citrix will handle
this as long as your base application is ts aware.
 
N

ngr

We have an app which could be started twice by the same user at the same
time.
We need to prevent this from happening.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top