The OS is supplying the credentials on Winlogon - or at least that's how I assume Outlook is obtaining and updating credentials. Cached domain credentials maybe?
My application is intended to be passive in the whole scheme. Any sort of password update is driven by the OS or directory services or whatnot. All I want out of my application is once the user logs in and authenticates against directory services or whatnot, the credentials stay "magically" valid henceforth and forevermore, and refresh themselves every time the user physically logs into the machine.*
*Note: I'm pretty sure the "expected" requirement is that they want the credentials to always refresh, regardless of whether the user EVER logs into the machine. I'm 99.999% certain that's impossible. I figured I'd just ask about the what-may-be-possible first.
-------
To describe the scenario a little more in detail, here's what the latest version of Outlook seems to do.
On initial setup in Outlook, you provide the exchange server information setup and the domain username and password. Outlook then synchronizes.
Assume 10 days later the user is required to change his domain password. Once changed, upon opening Outlook, the user would be prompted for his domain credentials again as the stored credentials no longer authenticate against AD properly.
The NEW version of Outlook, however, will NOT prompt the user for login credentials on startup -- It will simply start up and sync with exchange as if no password change had happened. This leads me to believe that the latest version of Outlook is capable of using the OS cached credentials in some way as a SSO sign on, rather than a locally stored copy of the user's credentials that were manually entered by the user. This is essentially what I am looking for.