Search This Blog

Wednesday, April 27, 2011

SetAuthenticationResult

This is one function I stumbled upon last week. I gave a search in people books and tried to understand how and in which context it works the best.

Came to know that it works with the PeopleSoft Sign on related area and provided the developer with robust ways of administering the security perspective beyond what’s delivered with the product
Syantax for the function is given below:

SetAuthenticationResult(AuthResult [, UserId] [,ResultDocument] [,PasswordExpired] [DaysLeftBeforeExpire])

When PasswordExpired is True, it indicates the password is expired, the passwordexpired.html page is displayed during login when signon PeopleCode is enabled.

When DaysLeftBeforeExpire is greater than 0, and PasswordExpired is False, indicating that the password will expire in x days, the passwordwarning.html page is displayed during login when signon PeopleCode is enabled.

No comments:

Post a Comment