A server-side object that is embedded in an Active Server Pages (ASP) page. The Passport Manager object interacts with Microsoft® Internet Information Services (IIS) and ASP to automatically handle Microsoft® .NET Passport cookie reads and writes, and provides information to ASP pages by calling various Passport Manager application programming interface (API) methods and properties.
Functions that access or create the Passport Manager object
A secondary interface for the Passport Manager object. Contains new APIs available in the 2.0 version of the Passport Manager object.
A sample object instantiation implementation in C++
#include "passport.h"
// assumes that this file is in path
// (main or constructor function, whatever that is for your project)
{
HRESULT hr;
IPassportManager* piPassMan;
hr = CoInitialize(NULL);
hr = CoCreateInstance(CLSID_Manager, NULL, CLSCTX_INPROC_SERVER, IID_IPassportManager, (void**)&piPassMan);
// TODO: include all code that calls Passport Manager object
// cleanup
hr = piPassMan->Release();
CoUninitialize();
}