The Local Authentication SubSystem (LASS) is a new feature in Windows Mobile 5.0. This feature is available for both PPC and SP. Using LASS, applications can force users to authenticate. The most interesting LASS API is VerifyUser.
To play with LASS set up a password and then try the following code snippet:
BOOL bRet = VerifyUser(&AE_EVERY_TIME, NULL,NULL,0,NULL);
MessageBox (hWnd,L"User Verified",NULL,MB_OK);
MessageBox (hWnd,L"User Failed Verification",NULL,MB_OK);
I'll continue to discuss LASS in future blog entries.