![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Password Changed Date Topic Summary: Created On: 14-Jun-2006 19:40 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Am forming database Password policies and support DXL. I notice that the date the password was last changed appears both on the User's Tools Menu >Options >Password tab, and also on the DB administrators Tools >Manage Users >edit User >Security tab. This "Last changed" date is used by the "Expires after" integer (typically 90 days), in order to prompt the user to change passwords.
In the DXL manual chapter 10 "DOORS database access" section "Group and user management", that the User property for this (90 day) password lifetime is "passwordLifetime". Manipulating that works. In DXL, does anybody know the name of the "User property" associated with this last changed date, the date the password was last changed? - Louie |
|
![]() |
|
![]() |
|
Hi Louie,
it seems, that the information you need, is in following list ![]() UserElement_ mayManage() AgentManageValueReference UserElement_ mayArchive() AgentArchiveValueReference UserElement_ mayPartition() AgentPartitionValueReference UserElement_ mayCreateTopLevelFolders() AgentCreateTopLevelFoldersValueReference UserElement_ mayEditGroupList() AgentEditGroupListValueReference UserElement_ mayEditUserList() AgentEditUserListValueReference UserElement_ passwordChanged() AgentPasswordChangedValueReference UserElement_ passwordLastChanged() UserElement_ passwordLastChange() AgentPasswordLastChangeValueReference UserElement_ emailCPUpdates() AgentEmailUpdatesToChangeProposalsValueReference UserElement_ passwordMayChange() AgentPasswordMayChangeValueReference UserElement_ passwordLifetime() AgentPasswordLifetimeValueReference UserElement_ passwordMinimumLength() AgentPasswordMinLengthValueReference UserElement_ class() AgentClassValueReference UserElement_ password() AgentPasswordValueReference UserElement_ telephone() AgentTelephoneValueReference UserElement_ address() AgentAddressValueReference UserElement_ email() AgentEmailValueReference UserElement_ description() AgentDescriptionValueReference UserElement_ systemLoginName() AgentLoginNameValueReferen Greetings Reik Schröder ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany Edited: 15-Jun-2006 at 12:42 by Reik Schroeder |
|
![]() |
|
![]() |
|
The name of the property is passwordLastChanged, but you cannot use it.
Trying to access the property causes a DXL error "Access to this property is denied". ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
Hi Tony, hi Louie,
you have to use Date as return type, then it will be working ... Greetings Reik Schröder ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
|
![]() |
|
thanks! I've been looking off and on for this for 2.5 years. Since I play with DXL more that I seriously code I'm at a loss to handle a problem that comes up with this code though. I have a script that goes through my userlist and kicks out the name of all my users, their email, the type of user they are and their system name. When I glued this code in my script ran beautifully until it came to a user that had never changed their password. Then the DXL screen kicked out an error that said "User/Group directory error: Password has never been changed" I don't know enough DXL to get around this error. Any help would be appreciated.
------------------------- David A. Rose TSgt USAF NCOIC System Administration |
|
![]() |
|
![]() |
|
Hi David,
please try this one ![]() Greetings Reik Schröder ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
|
![]() |
|
Reik,
Thanks for the assist. I fooled around with your code just a little bit, and deleted the if statement. I discovered that the date that was returned without the if statement was 31 Dec 1969. Its not causing a problem, I just thought I would add to the corporate knowledge. ------------------------- David A. Rose TSgt USAF NCOIC System Administration |
|
![]() |
|
![]() |
|
Hi David,
please be carefull with leaving out the if statement. The function noError() will catch all error messages until call of function lastError(). So you should leave at least the call of lastError() Greetings Reik Schröder ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
|
![]() |
|
Yup, that'll do it thanks.
|
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Password Changed Date
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.