Quantcast
Channel: SCN : All Content - SAP Enterprise Portal
Viewing all articles
Browse latest Browse all 3876

How to get the user password expire days through code for Portal application..?

$
0
0

Dear all,

 

I have requirement for all users password expire date need to get the list.I configure the Password Validity Period (Days):60.

 

and when i tried to get the days through code.

 

i am using this interface com.sap.security.api.IUserAccount


               userAccount.getPasswordExpirationNotificationDays()

 

but this is returning the value is -1.I am unable to understating the -1 for  PasswordExpirationNotificationDays.

 

Because i am set  the 60 days and here one more bug for portal- when I'm trying to change the parameter value 0 or 1 day, it's changing to 99999.


Please tell me the any one how to get the users password expire days.

 

My server version is 7.4 SP12

 

 

Thanks for Advance

Thanks  and  Best regards,

Durga Rao V.


Viewing all articles
Browse latest Browse all 3876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>