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: Current User
Topic Summary:
Created On: 18-Jan-2005 06: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.
 18-Jan-2005 06:32
User is offline View Users Profile Print this message


Paul Miller

Posts: 376
Joined: 2-Oct-2002

Hi All,

DOORS has a DXL type called "User".

if I define a variable of type User, how can make that variable equate to the current user running a DXL script.

There's plenty of info in the DXL manual to support the "User" type in loops, but can't find anything about setting a User type to be the currently logged in user.



-------------------------
Paul Miller
Specification Practices Specialist,
EuroCyber,
Melbourne, Australia.
Mobile: +61 (0)418 135 103
Web Site: http://www.eurocyber.biz
E-mail: miller@eurocyber.biz">pmiller@eurocyber.biz
Report this to a Moderator Report this to a Moderator
 18-Jan-2005 10:46
User is offline View Users Profile Print this message


Jonathan Marshall

Posts: 27
Joined: 10-Apr-2003

Paul,

You can use the find function without an argument

User uu = find
string uname = uu.name
print uname
print "\n"

-------------------------
Jonathan Marshall
EADS Astrium

Edited: 18-Jan-2005 at 10:48 by Jonathan Marshall
Report this to a Moderator Report this to a Moderator
 18-Jan-2005 18:49
User is offline View Users Profile Print this message


Pete Kowalski

Posts: 301
Joined: 7-Feb-2003


There is also a hidden DXL function which I don't recall the exact name of.

It is something like ...

print DOORSName

Anyone know what it is for sure?

-------------------------
pete.kowalski(at)motorola.com
Report this to a Moderator Report this to a Moderator
 18-Jan-2005 18:50
User is offline View Users Profile Print this message


Pete Kowalski

Posts: 301
Joined: 7-Feb-2003

Hey, I actually have a good memory of sorts.

This is the correct code

print doorsname

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


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Yes.

These are the same:
User usr = find()
User usr = find(doorsname)

- Louie
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.