﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Role Based Security  » Log os used passwords</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Thu, 23 Apr 2026 00:40:28 GMT</lastBuildDate><ttl>20</ttl><item><title>Log os used passwords</title><link>http://forum.strataframe.net/FindPost32089.aspx</link><description>Hi All,&lt;br/&gt;&lt;br/&gt;&lt;div&gt;One again, for compliance´s propouses, I need to have a log of the last ten used passwords of each user.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Is it native of the tool ? How can I get it ?&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Regards</description><pubDate>Fri, 07 Jun 2013 08:09:49 GMT</pubDate><dc:creator>Marcelo Blank</dc:creator></item><item><title>RE: Log os used passwords</title><link>http://forum.strataframe.net/FindPost32100.aspx</link><description>Glad that worked for you Marcelo :)</description><pubDate>Fri, 07 Jun 2013 08:09:49 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Log os used passwords</title><link>http://forum.strataframe.net/FindPost32099.aspx</link><description>That´s it.:&lt;br/&gt;&lt;br/&gt;&lt;div&gt;1 - Turn the class EncryptedData public&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;&lt;div&gt;''' &amp;lt;summary&amp;gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ''' Data processing of Users.us_Data field&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ''' &amp;lt;/summary&amp;gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ''' &amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Public Class EncryptedData&lt;br/&gt;&lt;br/&gt;2 - Compile the&amp;nbsp;SFSUsersBO dll&lt;br/&gt;&lt;br/&gt;&lt;div&gt;3 - replace the&amp;nbsp;SFSUsersBO dll in your project&lt;br/&gt;&lt;br/&gt;4 - Add this code ...&lt;br/&gt;&lt;br/&gt;&lt;div&gt;&lt;div&gt;SFSPreferencesBO s = new SFSPreferencesBO();&lt;br/&gt;&lt;br/&gt;&lt;div&gt;s.FillAll(ProjectPK);&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;SFSUsersBO u = new SFSUsersBO();&lt;br/&gt;&lt;br/&gt;&lt;div&gt;u.FillByPrimaryKey(UserPK);&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;lt;= u.us_PasswordHistory.Count-1; i++)&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&amp;nbsp;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MessageBox.Show(u.us_PasswordHistory[i].ToString());&lt;br/&gt;&lt;br/&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br/&gt;&lt;br/&gt;&lt;div&gt;5 - Well done.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Thanks a lot</description><pubDate>Thu, 06 Jun 2013 18:01:36 GMT</pubDate><dc:creator>Marcelo Blank</dc:creator></item><item><title>RE: Log os used passwords</title><link>http://forum.strataframe.net/FindPost32096.aspx</link><description>Great.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;That´s what I tought.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Thanks&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Thu, 06 Jun 2013 15:37:48 GMT</pubDate><dc:creator>Marcelo Blank</dc:creator></item><item><title>RE: Log os used passwords</title><link>http://forum.strataframe.net/FindPost32091.aspx</link><description>The reason we store the password history is so that SF can prevent a user from re-using any of their last X passwords, where X is configured through the SFSPreferences.sp_PwBeforeRepeat field value. &amp;nbsp;It is configured through the security preferences. &amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;So, if you're trying to duplicate that functionality, just set the preference. &amp;nbsp;If you need a user-readable log of the passwords, then you'll have to get it from the EncryptedData class.</description><pubDate>Thu, 06 Jun 2013 13:43:57 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Log os used passwords</title><link>http://forum.strataframe.net/FindPost32090.aspx</link><description>Yes, SF automatically stores the last 24 passwords used by a user. &amp;nbsp;The collection is private, but you could access it through reflection or by modifying the source code to make the SFSUsersBO.EncryptedData class public. The EncryptedData class parses the us_Data field in the database, which is where all of that information is stored. &amp;nbsp;The EncryptedData has the PasswordHistory property, which is a generic string list of the last 24 passwords used.</description><pubDate>Thu, 06 Jun 2013 13:41:16 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>