![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Logging out users and removing locks Topic Summary: Created On: 21-Apr-2004 16:52 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I am looking to write DXL code that will log users out of DOORS and remove any remaining locks. Is there a way to do that?
|
|
![]() |
|
![]() |
|
Here's a code that will remove locks from the database
Lock lockItem string myFile LockList lcklist = getLocksInDatabase( true ) for lockItem in lcklist do { myFile = lockItem.resourceName remove( lockItem ) } delete( lcklist ) Not sure of logging off users ------------------------- jobina.l.johnson@boeing.com ![]() |
|
![]() |
|
![]() |
|
This may remove the locks but it doesn't log the user out of the DB. When running locally the user is advised to log off when they attempt to use an item then HAD locked; but when running on the server the user can continue to work and save modules; but then someone else can as well.
Removing these locks works after you've disabled logins. - Louie |
|
![]() |
|
![]() |
|
There's another thread in this forum (Backing up the DOORS database) that gives details about forcing users off the database using dbadmin command-line options. It's probably worth checking that thread out to see what users think about that as an option.
------------------------- Paul dot Tiplady at TRW dot com TRW Automotive |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Logging out users and removing locks
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.