I have a program that uses psfile from Microsoft to get the status of files
in use by remote servers. It's primarily used to determine if all users are out of the system and a backup can be made or if someone's workstation hung with files open etc,etc.
psfile doesn't seem to give the right information unless a Domain Administrator is running it. Is there an api to determine if the currently logged in windows user has Admin rights to the Domain or should I just always assume they don't and bring up a dialog and pass it as a parameter on the psfile command line?
Bob Mechler
in use by remote servers. It's primarily used to determine if all users are out of the system and a backup can be made or if someone's workstation hung with files open etc,etc.
psfile doesn't seem to give the right information unless a Domain Administrator is running it. Is there an api to determine if the currently logged in windows user has Admin rights to the Domain or should I just always assume they don't and bring up a dialog and pass it as a parameter on the psfile command line?
Bob Mechler
Comment