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: Password Changed Date
Topic Summary:
Created On: 14-Jun-2006 19:40
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.
 14-Jun-2006 19:40
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 15-Jun-2006 11:45
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

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
Report this to a Moderator Report this to a Moderator
 15-Jun-2006 12:00
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 15-Jun-2006 12:39
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

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
Report this to a Moderator Report this to a Moderator
 15-Jun-2006 13:44
User is offline View Users Profile Print this message


David Rose

Posts: 80
Joined: 10-Oct-2003

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
Report this to a Moderator Report this to a Moderator
 15-Jun-2006 13:53
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi David,

please try this one

Greetings
Reik Schröder

-------------------------
Evosoft GmbH
for Siemens Industry Sector


Berlin, Germany
Report this to a Moderator Report this to a Moderator
 15-Jun-2006 15:35
User is offline View Users Profile Print this message


David Rose

Posts: 80
Joined: 10-Oct-2003

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
Report this to a Moderator Report this to a Moderator
 15-Jun-2006 15:44
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

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
Report this to a Moderator Report this to a Moderator
 15-Jun-2006 23:24
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Yup, that'll do it thanks.
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.