Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Password Expiration Date

I am trying to find the classes/objects used to retrieve password policy or set a policy for Enterprise Authentication using .NET SDK . Don't seem to find any details about it . my basic requirement is to find users whose password are about to expire in a day or two and update their passwords etc..

Does anyone has any ideas or details about it? if so, do you mind sharing your experiences?

Thanks for all your help

Former Member
replied

You will need to include the field "SI_LAST_PASSWORD_CHANGE_TIME" in your query to get the relevant info for the user.

To find out what the limit is for the system, use this query:

select SI_ID, SI_MAX_PASSWORD_AGE from CI_SYSTEMOBJECTS where SI_NAME = 'secEnterprise'

SI_MAX_PASSWORD_AGE will give you the maximum age in seconds that you can use to add to the SI_LAST_PASSWORD_CHANGE_TIME value to get what you're looking for.

You'll probably only be able to get the Password Age value by going to the .Properties of the InfoObject returned from the query.

-Dell


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question