![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Sending a message to a specific user Topic Summary: Using terminal services to send a message to a user. Created On: 28-Feb-2008 14:37 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Please try the attached.
This nearly works... The main issue I can see is having the necessary permissions to run the commands. It uses msg.exe to send a message to a specific computer. This is available if the server has terminal services and is also available on XP machines. It calls dbadmin.exe to get the name of the computer the user is logged onto. This will probably not be available on your client and you may have to copy it from the server to the doors bin directory. An alternative to using dbadmin is to query flexlm, but this was found to be unreliable here where we have mutliple pools of licenses and many doors databses. ------------------------- Tony Goodman http://www.smartdxl.com Edited: 28-Feb-2008 at 14:49 by Tony Goodman |
|
![]() |
|
![]() |
|
Pretty clever. I notice, however, that 'user' means 'logged in user' and doesn't mean 'DOORS user'; I notice you should spell out the path to 'dbadmin.exe' perhaps like this:
string DOORSHome = getenv("DOORSHOME") command = DOORSHome "bin\\dbadmin.exe -d " DATABASE " -userlist" ... and I noice the system32wait_ command doesn't seem to work on my system, and when I send a 'msg' to another computer I get 'Access is denied' errors, no doubt due to the domineering 'DogBert' over in IT. You might want to check the returned error to see if the message was actually delivered. - Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Sending a message to a specific user
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.