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: Trouble deleting a user
Topic Summary:
Created On: 25-May-2005 22:32
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.
Answer This question was answered by Pete Kowalski, on Wednesday, May 25, 2005 10:37 PM

Answer:
Solved the issue already.

I needed to run loadDirectory() first.

 25-May-2005 22:32
User is offline View Users Profile Print this message


Pete Kowalski

Posts: 301
Joined: 7-Feb-2003

Hi -

For some reason this is not working, and I know it has something to do w/the find command I have stated.

I have a file called "1.txt" that contains just one name of a user in the database.

When I run this piece of code I get this error message ...

Mickey Mouse
-R-E-DXL:<Line:14> No such user
-I- DXL: execution halted

Does anyone see what I am doing incorrectly here?

BTW, I am a database manager so permissions are not the issue ;-)

Thanks for any input given and for your time,


-------------------------
pete.kowalski(at)motorola.com
Report this to a Moderator Report this to a Moderator
 25-May-2005 22:36
User is offline View Users Profile Print this message


Pete Kowalski

Posts: 301
Joined: 7-Feb-2003

Answer Answer
Solved the issue already.

I needed to run loadDirectory() first.



-------------------------
pete.kowalski(at)motorola.com
Report this to a Moderator Report this to a Moderator
 26-May-2005 19:22
User is offline View Users Profile Print this message


cliff Bly

Posts: 58
Joined: 11-Apr-2003

Am I missing something? The dxl error occurs as MickeyMouse is not a defined user.
The function existsUser(h) should be used to determine if MickeyMouse has been defined.

ie
Declaration
User find()
{Group|User} find(string name)
Operation
The first form returns a handle of type User to the currently logged in user.

The second form returns a handle of type Group or type User for the group or user name. A call to this function where name does not exist causes a DXL run-time error. To check that a user or group exists, use the existsGroup, existsUser functions

-------------------------
Cliff Bly
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 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 1 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.