![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Enable a specific user using DXL Topic Summary: HOW TO...? Created On: 13-May-2008 18:25 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Try setUser(User user, property, {string|int|bool} value). I assume property is a string variable since they do not specify. Probably just a typo. You probably should do a saveDirectory() afterwards to be sure the change takes effect. User yourUserHandle = find(a username) bool isDisabled = true or false string disableProperty = "disable" setUser(yourUserHandle, disableProperty, isDisabled). | |
![]() |
|
I created a program to change the users password, it working perfectly.
I received an email from x user to reset the password and enabled the account. I'm ok with changing the password but i can't enabled the users account. What command i need to enable or disable users account. The same as going to the Manage users and check off the Disable users checkbox. Thanks. if anyone know other way to change the password, easieast than the CHange pass dialog box, please let me know. Thanks |
|
![]() |
|
![]() |
|
Try setUser(User user, property, {string|int|bool} value).
I assume property is a string variable since they do not specify. Probably just a typo. You probably should do a saveDirectory() afterwards to be sure the change takes effect. User yourUserHandle = find(a username) bool isDisabled = true or false string disableProperty = "disable" setUser(yourUserHandle, disableProperty, isDisabled). ------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com Edited: 13-May-2008 at 19:36 by David Pechacek |
|
![]() |
|
![]() |
|
I don't think its a string variable, it appears to be of hidden type "AgentElement_". Use the names directly from the 'Group and user management" section's table. In this case:
setUser(yourUserHandle, disabled, false) - Louie |
|
![]() |
|
![]() |
|
Thanks Lou. Didn't know that.
------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Enable a specific user using DXL
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.