Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
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
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 21-Apr-2004 16:52
User is offline View Users Profile Print this message


Joseph Miano

Posts: 2
Joined: 12-Apr-2004

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?
Report this to a Moderator Report this to a Moderator
 21-Apr-2004 17:11
User is offline View Users Profile Print this message


Jobina Johnson

Posts: 55
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 22-Apr-2004 16:38
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 23-Apr-2004 09:52
User is offline View Users Profile Print this message


Paul Tiplady

Posts: 176
Joined: 28-Oct-2003

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
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 0 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.