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: Create New User GUI
Topic Summary: How to make it work...
Created On: 12-Jun-2008 20:37
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.
 12-Jun-2008 20:37
User is offline View Users Profile Print this message


Douglas Perez

Posts: 47
Joined: 20-Feb-2008

Does anyone know why this script is creating the user but i'm not able to update the User Details (Full Name, Email, Phone, Address, etc). Please let me know what i'm doing wrong. I tried everything on my hands.


Thanks
Report this to a Moderator Report this to a Moderator
 12-Jun-2008 22:17
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Getting exception violations, yes?

The user 'set' and 'get' are for admin defined 'user properties'. You can, if you want, add additional information to users, e.g. 'Company'.

Don't use quotes around the names of the properties, use <email> instead of <"email">.

To modify standard properties, you use setUser and getUser, not set and get.

Also, check "existsUser" before using "u = find". I doubt it matters, but get rid of the 'const' commands, since those strings are not constants.

I was getting lots of exception violations and FINALLY figured it out: your 'User' handle 'u' is getting corrupted since you are loading the directory after getting the handle. Move loadDirectory up.

New script attached.

- Louie

Edited: 13-Jun-2008 at 15:38 by Louie Landale
Report this to a Moderator Report this to a Moderator
 13-Jun-2008 17:10
User is offline View Users Profile Print this message


Douglas Perez

Posts: 47
Joined: 20-Feb-2008

Thanks.

That works perfectly.

Now I have another problem. Does anyone know how to get all the selected groups from the multilist and add those to the user.

i'm using addMember but is only adding the last one i select and i want all that i select.

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